clang/lib
Richard Smith a9b21d22bb Bug fix: do not emit static const local variables with mutable members
as constants.

Refactor and simplify all the separate checks for whether a type can be
emitted as a constant.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150793 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-17 06:48:11 +00:00
..
ARCMigrate Basic: import SmallString<> into clang namespace 2012-02-05 02:13:05 +00:00
AST Make sure all remaining parts of the constant evaluator are aware that an array 2012-02-17 03:35:37 +00:00
Analysis Thread-safety analysis: Disable checking inside constructors, destructors, lock, and unlock functions 2012-02-16 17:13:43 +00:00
Basic Provide common include for all diagnostic headers. 2012-02-15 21:58:34 +00:00
CodeGen Bug fix: do not emit static const local variables with mutable members 2012-02-17 06:48:11 +00:00
Driver Tweak link order on Solaris so that global ctors work. 2012-02-16 16:00:47 +00:00
Frontend Remove the unuseful -fdiagnostics-show-name 2012-02-15 19:45:34 +00:00
FrontendTool Make use of const-correct ParseCommandLineOptions 2012-02-07 19:36:38 +00:00
Headers Remove vperm2f* and vperm2i builtins. Same effect can be achieved with builtin_shufflevector. 2012-02-08 07:33:36 +00:00
Index More dead code removal (using -Wunreachable-code) 2012-01-20 21:50:17 +00:00
Lex Advertize support for constexpr. 2012-02-14 22:56:17 +00:00
Parse Disambiguate between C++11 lambda expressions and C99 array 2012-02-17 03:49:44 +00:00
Rewrite objective-c translator. More stuff for modern meta-data. 2012-02-17 00:06:14 +00:00
Sema Only add 'const' to the type of variables captured in a lambda when 2012-02-17 04:02:59 +00:00
Serialization Revert "Revert "Make CXXNewExpr contain only a single initialier, and not hold the used constructor itself."" 2012-02-16 12:22:20 +00:00
StaticAnalyzer [analyzer] Malloc Checker: Clean up bug naming: 2012-02-16 22:26:12 +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