hanchenye-llvm-project/clang/lib/AST
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
..
APValue.cpp [AST] APValue: Split the fast path of MakeUninit to be inline. 2012-03-08 20:28:55 +00:00
ASTConsumer.cpp
ASTContext.cpp [AST] Memoize ASTContext::getTypeInfo(). 2012-03-09 04:12:54 +00:00
ASTDiagnostic.cpp Support for raw and template forms of numeric user-defined literals, 2012-03-09 08:00:36 +00:00
ASTImporter.cpp [AST/Sema/libclang] Replace getSourceRange().getBegin() with getLocStart(). 2012-03-09 18:35:03 +00:00
AttrImpl.cpp
CMakeLists.txt Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, 2012-03-06 20:05:56 +00:00
CXXABI.h
CXXInheritance.cpp Actually remove the duplicated elements from the vector. 2012-02-23 18:35:56 +00:00
Decl.cpp [AST] Reduce Decl::getASTContext() calls. 2012-03-09 01:51:51 +00:00
DeclBase.cpp AST/stats: Don't effectively use an out-of-line function to return a static 2012-03-05 21:42:49 +00:00
DeclCXX.cpp Teach CXXRecordDecl::hasIrrelevantDestructor to check the base classes and 2012-02-25 07:33:38 +00:00
DeclFriend.cpp
DeclGroup.cpp
DeclObjC.cpp [Sema] Fix crash-on-invalid-code issue: 2012-03-02 19:14:29 +00:00
DeclPrinter.cpp Change @import to @__experimental_modules_import. We are not ready to commit to a particular syntax for modules, 2012-03-01 22:07:04 +00:00
DeclTemplate.cpp
DeclarationName.cpp Literal operator suffixes and regular names live in separate namespaces. 2012-03-09 08:37:16 +00:00
DumpXML.cpp Reapply r151638 and r151641. 2012-02-29 10:24:19 +00:00
Expr.cpp [AST] Define a few more key getLocStart() implementations. 2012-03-09 15:39:24 +00:00
ExprCXX.cpp AST representation for user-defined literals, plus just enough of semantic 2012-03-07 08:35:16 +00:00
ExprClassification.cpp AST representation for user-defined literals, plus just enough of semantic 2012-03-07 08:35:16 +00:00
ExprConstant.cpp [AST] Reduce Decl::getASTContext() calls. 2012-03-09 01:51:51 +00:00
ExternalASTSource.cpp
InheritViz.cpp
ItaniumCXXABI.cpp
ItaniumMangle.cpp AST representation for user-defined literals, plus just enough of semantic 2012-03-07 08:35:16 +00:00
LambdaMangleContext.cpp Basic support for name mangling of C++11 lambda expressions. Because 2012-02-20 19:44:39 +00:00
Makefile
Mangle.cpp
MicrosoftCXXABI.cpp
MicrosoftMangle.cpp
NSAPI.cpp Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, 2012-03-06 20:05:56 +00:00
NestedNameSpecifier.cpp [AST] NestedNameSpecifier's ctor/dtor are trivial and should be inlined. 2012-03-09 01:51:59 +00:00
ParentMap.cpp Fix crash in analyzer diagnostic generation involving subexpressions of OpaqueValueExpr not appearing in the ParentMap. Fixes <rdar://problem/10797980>. 2012-02-18 22:02:57 +00:00
RecordLayout.cpp
RecordLayoutBuilder.cpp If a struct needs to be laid out, and it has not 2012-02-08 00:04:52 +00:00
SelectorLocationsKind.cpp
Stmt.cpp [AST/Sema/libclang] Replace getSourceRange().getBegin() with getLocStart(). 2012-03-09 18:35:03 +00:00
StmtDumper.cpp Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, 2012-03-06 20:05:56 +00:00
StmtIterator.cpp
StmtPrinter.cpp Fix statement printing for raw and template user-defined literals. 2012-03-09 10:10:02 +00:00
StmtProfile.cpp AST representation for user-defined literals, plus just enough of semantic 2012-03-07 08:35:16 +00:00
StmtViz.cpp
TemplateBase.cpp Print NamedDecls directly to a raw_ostream where possible. 2012-02-07 11:57:57 +00:00
TemplateName.cpp Print NamedDecls directly to a raw_ostream where possible. 2012-02-07 11:57:57 +00:00
Type.cpp [AST] Type::isVoidType() is trivial and should be inlined. 2012-03-09 01:51:56 +00:00
TypeLoc.cpp
TypePrinter.cpp When overload resolution picks an implicitly-deleted special member 2012-02-15 19:33:52 +00:00
VTTBuilder.cpp
VTableBuilder.cpp