llvm-project/clang/lib
Richard Smith 0d1f3cb1b5 Special members which are defaulted or deleted on their first declaration are
trivial if the implicit declaration would be. Don't forget to set the Trivial
flag on the special member as well as on the class. It doesn't seem ideal that
we have two separate mechanisms for storing this information, but this patch
does not attempt to address that.

This leaves us in an interesting position where the has_trivial_X trait for a
class says 'yes' for a deleted but trivial X, but is_trivially_Xable says 'no'.
This seems to be what the standard requires.

llvm-svn: 151465
2012-02-26 00:31:33 +00:00
..
ARCMigrate [arcmt] GC migrator: don't try to remove redundant __strong, it does 2012-02-25 01:57:42 +00:00
AST Revert r151460 as it is not enough to address the issue. 2012-02-25 23:21:37 +00:00
Analysis Warn about non-standard format strings (pr12017) 2012-02-22 10:17:01 +00:00
Basic More ArrayRef-ification of methods. 2012-02-22 09:51:33 +00:00
CodeGen CodeGen support for global variables of type std::initializer_list<X>. 2012-02-25 20:51:20 +00:00
Driver Temporarily revert r151288: 2012-02-25 20:32:43 +00:00
Frontend Don't record nested macro expansions in the preprocessing record, 2012-02-25 02:41:16 +00:00
FrontendTool Make use of const-correct ParseCommandLineOptions 2012-02-07 19:36:38 +00:00
Headers * tgmath_logb.patch implements the missing logb function (see C99 standard 7.22, paragraph 5). * tgmath_fabs_complex.patch corrects the return types for the complex fabs functions. These must be non-complex float/double/long double (see C99 standard 7.22, paragraph 4 and 7.3.8.1). Patch contributed by Kristof Beyls. 2012-02-23 20:22:10 +00:00
Index More dead code removal (using -Wunreachable-code) 2012-01-20 21:50:17 +00:00
Lex Initializer lists are now supported. 2012-02-25 20:51:27 +00:00
Parse ArrayRef'ize various functions in the AST/Parser/Sema. 2012-02-25 11:00:22 +00:00
Rewrite Minor modern rewriter bug showed up during testing 2012-02-24 21:42:38 +00:00
Sema Special members which are defaulted or deleted on their first declaration are 2012-02-26 00:31:33 +00:00
Serialization Teach CXXRecordDecl::hasIrrelevantDestructor to check the base classes and 2012-02-25 07:33:38 +00:00
StaticAnalyzer RetainCountChecker: don't adjust the retain count when analyzing a ReturnStmt unless we are in the top-level call frame. We can do more later, but this makes the checker self-consistent (and fixes a crash). 2012-02-25 02:09:09 +00:00
CMakeLists.txt The ARC Migration Tool. All the credit goes to Argyrios and Fariborz 2011-06-15 23:25:17 +00:00
Makefile The ARC Migration Tool. All the credit goes to Argyrios and Fariborz 2011-06-15 23:25:17 +00:00