llvm-project/clang/lib/AST
Richard Smith 12f247f43f PR13051: If a constructor is explicitly defaulted, it isn't marked as being
constexpr until we get to the end of the class definition. When that happens,
be sure to remember that the class actually does have a constexpr constructor.

This is a stopgap solution, which still doesn't cover the case of a class with
multiple copy constructors (only some of which are constexpr). We should be
performing constructor lookup when implicitly defining a constructor in order
to determine whether all constructors it invokes are constexpr.

llvm-svn: 158228
2012-06-08 21:09:22 +00:00
..
APValue.cpp Remove the ref/value inconsistency in filter_decl_iterator. 2012-04-30 02:36:29 +00:00
ASTConsumer.cpp Change ASTConsumer::HandleTopLevelDecl to return true for the parser to continue 2011-11-18 00:26:59 +00:00
ASTContext.cpp Add ext_vector type code for builtins, from John Garvin! 2012-06-07 18:08:25 +00:00
ASTDiagnostic.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
ASTImporter.cpp Plug a long standing memory leak in TemplateArgument. 2012-06-07 15:09:51 +00:00
AttrImpl.cpp Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:48:34 +00:00
CMakeLists.txt Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, 2012-03-06 20:05:56 +00:00
CXXABI.h Move isNearlyEmpty out into the ASTContext so it can be called from CodeGen as well. 2010-11-25 01:51:53 +00:00
CXXInheritance.cpp PR12962: Fix a rare use after free when collecting virtual overrides. 2012-05-27 22:41:08 +00:00
Decl.cpp PR13051: If a constructor is explicitly defaulted, it isn't marked as being 2012-06-08 21:09:22 +00:00
DeclBase.cpp Revert Decl's iterators back to pointer value_type rather than reference value_type 2012-06-06 20:45:41 +00:00
DeclCXX.cpp PR13051: If a constructor is explicitly defaulted, it isn't marked as being 2012-06-08 21:09:22 +00:00
DeclFriend.cpp When creating declarations that are deserialized from an module file, 2012-01-05 21:55:30 +00:00
DeclGroup.cpp I lied. Kill off a few more Destroy methods 2010-07-25 18:32:30 +00:00
DeclObjC.cpp Revert Decl's iterators back to pointer value_type rather than reference value_type 2012-06-06 20:45:41 +00:00
DeclPrinter.cpp Revert Decl's iterators back to pointer value_type rather than reference value_type 2012-06-06 20:45:41 +00:00
DeclTemplate.cpp Fix non-deterministic iteration order when walking the specializations 2012-05-03 23:49:05 +00:00
DeclarationName.cpp Simplify some users of DeclarationName::getNameKind. Fold getFETokenInfoAsVoid into its only caller. 2012-05-19 16:03:58 +00:00
DumpXML.cpp Plug a long standing memory leak in TemplateArgument. 2012-06-07 15:09:51 +00:00
Expr.cpp A minor tweak to the new volatile lvalue warning: don't warn on "(void)x", where "x" refers to a local variable. This should silence a useless warning in compiler-rt and other places. 2012-05-24 21:05:41 +00:00
ExprCXX.cpp Correctly constify clang::CXXMemberCallExpr::getRecordDecl() 2012-05-03 16:25:49 +00:00
ExprClassification.cpp Add a warning for when an array-to-pointer decay is performed on an array 2012-06-04 22:27:30 +00:00
ExprConstant.cpp Revert Decl's iterators back to pointer value_type rather than reference value_type 2012-06-06 20:45:41 +00:00
ExternalASTSource.cpp Implement the all_lookups_iterator for PCH as a follow-up to r153970. This 2012-04-16 02:51:46 +00:00
InheritViz.cpp remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports 2011-07-23 10:55:15 +00:00
ItaniumCXXABI.cpp Extend the ASTContext constructor to delay the initialization of 2011-09-02 00:18:52 +00:00
ItaniumMangle.cpp Plug a long standing memory leak in TemplateArgument. 2012-06-07 15:09:51 +00:00
LambdaMangleContext.cpp Basic support for name mangling of C++11 lambda expressions. Because 2012-02-20 19:44:39 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
Mangle.cpp Switch the ObjC*Decl raw_stream overloads to take a reference, for consistency with NamedDecls. 2012-02-07 11:57:45 +00:00
MicrosoftCXXABI.cpp Extend the ASTContext constructor to delay the initialization of 2011-09-02 00:18:52 +00:00
MicrosoftMangle.cpp PR13047: Fix various abuses of clang::Type in the MS mangler, to make it work 2012-06-08 00:37:04 +00:00
NSAPI.cpp [objcmt] Don't migrate to subscripting syntax if the required methods have not 2012-06-04 21:23:26 +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 Add support for laying out vtordisps according to our current 2012-05-01 08:55:32 +00:00
RecordLayoutBuilder.cpp Revert Decl's iterators back to pointer value_type rather than reference value_type 2012-06-06 20:45:41 +00:00
SelectorLocationsKind.cpp Fix crash when using archaic protocol, rdar://10238337 2011-10-05 21:28:06 +00:00
Stmt.cpp Add an AttributedStmt type to represent a statement with C++11 attributes 2012-04-14 00:33:13 +00:00
StmtDumper.cpp When AST-dumping the ObjCBoxedExpr node, also print out what selector it chose. 2012-05-10 20:02:31 +00:00
StmtIterator.cpp Support for C++11 (non-template) alias declarations. 2011-04-15 14:24:37 +00:00
StmtPrinter.cpp Plug a long standing memory leak in TemplateArgument. 2012-06-07 15:09:51 +00:00
StmtProfile.cpp Plug a long standing memory leak in TemplateArgument. 2012-06-07 15:09:51 +00:00
StmtViz.cpp
TemplateBase.cpp Reuse APInt's getNumWords, which gets rounding right (my ad-hoc solution missed it). 2012-06-07 15:54:03 +00:00
TemplateName.cpp Print NamedDecls directly to a raw_ostream where possible. 2012-02-07 11:57:57 +00:00
Type.cpp [objc] When boxing a BOOL/NSInteger/NSUInteger type, use the corresponding 2012-05-10 23:12:03 +00:00
TypeLoc.cpp Added source location for the template keyword in DependentTemplateSpecializationTypeLoc nodes (DTSTLoc). 2012-02-06 22:45:07 +00:00
TypePrinter.cpp Use raw_ostream in TypePrinter and eliminate uses of temporary std::strings. 2012-05-05 04:20:37 +00:00
VTTBuilder.cpp Move VTT builder to AST 2011-09-26 01:56:24 +00:00
VTableBuilder.cpp Revert Decl's iterators back to pointer value_type rather than reference value_type 2012-06-06 20:45:41 +00:00