hanchenye-llvm-project/clang/lib/AST
David Majnemer f0a84f200a Parse: Do not 'HandleTopLevelDecl' on templated functions.
Summary:
HandleTopLevelDecl on a templated function leads us to try and mangle
it.

Reviewers: rsmith

Reviewed By: rsmith

CC: cfe-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D1412

llvm-svn: 188536
2013-08-16 08:29:13 +00:00
..
APValue.cpp Pacify compilers that think you can drop off a fully covered switch. 2013-06-03 21:26:13 +00:00
ASTConsumer.cpp
ASTContext.cpp [Mips][msa] Add support for half 2013-08-15 15:16:57 +00:00
ASTDiagnostic.cpp If a default argument is a dependent type, get the real type from the desugared 2013-07-20 03:49:02 +00:00
ASTDumper.cpp Use SmallVectorImpl instead of SmallVector for iterators and references to avoid specifying the vector size unnecessarily. 2013-07-04 03:08:24 +00:00
ASTImporter.cpp Started implementing variable templates. Top level declarations should be fully supported, up to some limitations documented as FIXMEs or TODO. Static data member templates work very partially. Static data member templates of class templates need particular attention... 2013-08-06 01:03:05 +00:00
ASTTypeTraits.cpp Add more types to ASTNodeKind. Refactor common instantiation code. 2013-07-16 15:47:24 +00:00
AttrImpl.cpp
CMakeLists.txt Fix CMakeLists.txt. 2013-07-01 20:34:51 +00:00
CXXABI.h
CXXInheritance.cpp Use SmallVectorImpl instead of SmallVector for iterators and references to avoid specifying the vector size unnecessarily. 2013-07-04 03:08:24 +00:00
Comment.cpp [comment parsing]: Removes an unsafe API whose 2013-07-05 23:20:55 +00:00
CommentBriefParser.cpp
CommentCommandTraits.cpp Use llvm::array_lengthof to replace sizeof(array)/sizeof(array[0]). 2013-07-15 03:38:40 +00:00
CommentLexer.cpp [doc parsing]: make single character command impostures 2013-05-09 17:18:52 +00:00
CommentParser.cpp
CommentSema.cpp Comment parsing: allow "\param ..." to describe variadic arguments 2013-06-24 04:41:32 +00:00
Decl.cpp Started implementing variable templates. Top level declarations should be fully supported, up to some limitations documented as FIXMEs or TODO. Static data member templates work very partially. Static data member templates of class templates need particular attention... 2013-08-06 01:03:05 +00:00
DeclBase.cpp Implement [class.friend]p11's special name lookup rules for friend declarations 2013-08-09 04:35:01 +00:00
DeclCXX.cpp Improve clarity/consistency of a few UsingDecl methods and related helpers. 2013-07-22 10:54:09 +00:00
DeclFriend.cpp Lazily deserialize the "first' friend declaration when deserializing a class 2013-06-26 02:41:25 +00:00
DeclGroup.cpp
DeclObjC.cpp ObjC migrator: Improve on hueristics. 2013-07-10 21:30:22 +00:00
DeclOpenMP.cpp OpenMP: basic support for #pragma omp parallel 2013-07-19 03:13:43 +00:00
DeclPrinter.cpp Fix pretty-printing for unnamed unions. 2013-08-12 21:54:04 +00:00
DeclTemplate.cpp variable templates updated for PCH serialization... Still working on test cases... 2013-08-13 02:02:26 +00:00
DeclarationName.cpp Provide operator<< for stream output of DeclarationNames 2013-05-14 21:04:00 +00:00
DumpXML.cpp
Expr.cpp Properly track l-paren of a CXXFucntionalCastExpr. 2013-08-15 22:02:56 +00:00
ExprCXX.cpp Properly track l-paren of a CXXFucntionalCastExpr. 2013-08-15 22:02:56 +00:00
ExprClassification.cpp Make IgnoreParens() look through ChooseExprs. 2013-07-20 00:40:58 +00:00
ExprConstant.cpp PR16755: When initializing or modifying a bitfield member in a constant 2013-08-06 07:09:20 +00:00
ExternalASTSource.cpp
InheritViz.cpp Use llvm::sys::fs::createTemporaryFile. 2013-07-05 20:00:06 +00:00
ItaniumCXXABI.cpp
ItaniumMangle.cpp Started implementing variable templates. Top level declarations should be fully supported, up to some limitations documented as FIXMEs or TODO. Static data member templates work very partially. Static data member templates of class templates need particular attention... 2013-08-06 01:03:05 +00:00
Makefile
Mangle.cpp Get rid of dead/useless code for block mangling. 2013-07-10 01:13:27 +00:00
MangleNumberingContext.cpp More local mangling fixes. 2013-07-10 00:30:46 +00:00
MicrosoftCXXABI.cpp
MicrosoftMangle.cpp Parse: Do not 'HandleTopLevelDecl' on templated functions. 2013-08-16 08:29:13 +00:00
NSAPI.cpp
NestedNameSpecifier.cpp
ParentMap.cpp [analyzer; new edges] Simplify edges in a C++11 for-range loop. 2013-06-06 21:53:45 +00:00
RawCommentList.cpp
RecordLayout.cpp
RecordLayoutBuilder.cpp Fix alignment of class derived from empty class. 2013-07-16 00:21:28 +00:00
SelectorLocationsKind.cpp
Stmt.cpp OpenMP: basic support for #pragma omp parallel 2013-07-19 03:13:43 +00:00
StmtIterator.cpp Simplify StmtIterator. 2013-06-27 20:39:04 +00:00
StmtPrinter.cpp OpenMP: basic support for #pragma omp parallel 2013-07-19 03:13:43 +00:00
StmtProfile.cpp Correctly profile CXXPseudoDestructorExprs. 2013-08-09 23:37:05 +00:00
StmtViz.cpp
TemplateBase.cpp Fix one place I missed that was memcpy'ing TypeLocs in a way that messes 2013-06-20 04:11:21 +00:00
TemplateName.cpp
Type.cpp Create calling convention AttributedType sugar nodes 2013-07-19 19:51:03 +00:00
TypeLoc.cpp Handle all TemplateArguments in trivial TypeLocs. 2013-06-26 23:30:50 +00:00
TypePrinter.cpp Fix pretty-printing for unnamed unions. 2013-08-12 21:54:04 +00:00
VTTBuilder.cpp
VTableBuilder.cpp Make helper function static. 2013-08-01 11:08:06 +00:00