hanchenye-llvm-project/clang/lib/Sema
Daniel Dunbar 62ee6417ac [AST/Sema/libclang] Replace getSourceRange().getBegin() with getLocStart().
- getSourceRange().getBegin() is about as awesome a pattern as .copy().size().

I already killed the hot paths so this doesn't seem to impact performance on my
tests-of-the-day, but it is a much more sensible (and shorter) pattern.

llvm-svn: 152419
2012-03-09 18:35:03 +00:00
..
AnalysisBasedWarnings.cpp improve on diagnostic and provide a fixit hint when 2012-03-08 00:22:50 +00:00
AttributeList.cpp Refactor Clang sema attribute handling. 2012-03-07 00:12:16 +00:00
CMakeLists.txt Refactor Clang sema attribute handling. 2012-03-07 00:12:16 +00:00
CodeCompleteConsumer.cpp
DeclSpec.cpp __decltype is a GNU extension, not a C++11 extension. 2012-02-24 18:10:23 +00:00
DelayedDiagnostic.cpp objc: When issue diagnostic about deprecated method, also 2012-03-02 21:50:02 +00:00
IdentifierResolver.cpp Reapply r151638 and r151641. 2012-02-29 10:24:19 +00:00
JumpDiagnostics.cpp ArrayRef-icize the function arguments. 2012-02-22 09:38:11 +00:00
Makefile
Scope.cpp Reapply r151638 and r151641. 2012-02-29 10:24:19 +00:00
Sema.cpp Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, 2012-03-06 20:05:56 +00:00
SemaAccess.cpp Introduce a new initialization entity for lambda captures, and 2012-02-15 16:57:26 +00:00
SemaAttr.cpp
SemaCXXScopeSpec.cpp Added source location for the template keyword in DependentTemplateSpecializationTypeLoc nodes (DTSTLoc). 2012-02-06 22:45:07 +00:00
SemaCast.cpp Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, 2012-03-06 20:05:56 +00:00
SemaChecking.cpp -Wformat-non-iso: warn about positional arguments (pr12017) 2012-03-09 10:10:54 +00:00
SemaCodeComplete.cpp Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, 2012-03-06 20:05:56 +00:00
SemaConsumer.cpp
SemaDecl.cpp [AST/Sema/libclang] Replace getSourceRange().getBegin() with getLocStart(). 2012-03-09 18:35:03 +00:00
SemaDeclAttr.cpp Refactor Clang sema attribute handling. 2012-03-07 00:12:16 +00:00
SemaDeclCXX.cpp [AST/Sema/libclang] Replace getSourceRange().getBegin() with getLocStart(). 2012-03-09 18:35:03 +00:00
SemaDeclObjC.cpp [Sema] Fix crash-on-invalid-code issue: 2012-03-02 19:14:29 +00:00
SemaExceptionSpec.cpp
SemaExpr.cpp [AST/Sema/libclang] Replace getSourceRange().getBegin() with getLocStart(). 2012-03-09 18:35:03 +00:00
SemaExprCXX.cpp [AST/Sema/libclang] Replace getSourceRange().getBegin() with getLocStart(). 2012-03-09 18:35:03 +00:00
SemaExprMember.cpp objective-c lldb support: don't perform ivar access control check 2012-03-07 00:58:41 +00:00
SemaExprObjC.cpp Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, 2012-03-06 20:05:56 +00:00
SemaFixItUtils.cpp
SemaInit.cpp [AST/Sema/libclang] Replace getSourceRange().getBegin() with getLocStart(). 2012-03-09 18:35:03 +00:00
SemaLambda.cpp Implement "optimization" for lambda-to-block conversion which inlines the generated block literal for lambdas which are immediately converted to block pointer type. This simplifies the AST, avoids an unnecessary copy of the lambda and makes it much easier to avoid copying the result onto the heap. 2012-03-01 04:01:32 +00:00
SemaLookup.cpp Support for raw and template forms of numeric user-defined literals, 2012-03-09 08:00:36 +00:00
SemaObjCProperty.cpp objective-c: provide fixit hint when atomic property does not 2012-02-29 22:18:55 +00:00
SemaOverload.cpp [AST/Sema/libclang] Replace getSourceRange().getBegin() with getLocStart(). 2012-03-09 18:35:03 +00:00
SemaPseudoObject.cpp Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, 2012-03-06 20:05:56 +00:00
SemaStmt.cpp Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, 2012-03-06 20:05:56 +00:00
SemaTemplate.cpp [AST/Sema/libclang] Replace getSourceRange().getBegin() with getLocStart(). 2012-03-09 18:35:03 +00:00
SemaTemplateDeduction.cpp ArrayRef'ize various functions in the AST/Parser/Sema. 2012-02-25 11:00:22 +00:00
SemaTemplateInstantiate.cpp Introduce support for template instantiation of lambda 2012-02-13 22:00:16 +00:00
SemaTemplateInstantiateDecl.cpp Replace MarkVarRequired with a more generic 2012-03-08 15:51:03 +00:00
SemaTemplateVariadic.cpp Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, 2012-03-06 20:05:56 +00:00
SemaType.cpp [AST/Sema/libclang] Replace getSourceRange().getBegin() with getLocStart(). 2012-03-09 18:35:03 +00:00
TargetAttributesSema.cpp
TargetAttributesSema.h
TreeTransform.h AST representation for user-defined literals, plus just enough of semantic 2012-03-07 08:35:16 +00:00
TypeLocBuilder.h