llvm-project/clang/lib
Nico Weber 6a6376b17c Implement the likely resolution of core issue 253.
C++11 requires const objects to have a user-provided constructor, even for
classes without any fields. DR 253 relaxes this to say "If the implicit default
constructor initializes all subobjects, no initializer should be required."

clang is currently the only compiler that implements this C++11 rule, and e.g.
libstdc++ relies on something like DR 253 to compile in newer versions.  This
change  makes it possible to build code that says `const vector<int> v;' again
when using libstdc++5.2 and _GLIBCXX_DEBUG
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60284).

Fixes PR23381.

http://reviews.llvm.org/D16552

llvm-svn: 261297
2016-02-19 01:52:46 +00:00
..
ARCMigrate Fix some Clang-tidy readability-redundant-control-flow warnings; other minor fixes. 2016-02-10 19:11:58 +00:00
AST Implement the likely resolution of core issue 253. 2016-02-19 01:52:46 +00:00
ASTMatchers Add an AST matcher for real floating-point types. e.g., float, double, long double, but not complex. 2016-02-18 16:36:01 +00:00
Analysis Remove use of builtin comma operator. 2016-02-18 22:34:54 +00:00
Basic Remove use of builtin comma operator. 2016-02-18 22:34:54 +00:00
CodeGen Remove use of builtin comma operator. 2016-02-18 22:34:54 +00:00
Driver Make deprecation message for -fsanitize-coverage= with numeric argument friendlier. 2016-02-18 19:32:54 +00:00
Edit Remove autoconf support 2016-01-26 21:30:40 +00:00
Format clang-format: [JS] Support for (.. of ..) loops. 2016-02-11 13:24:15 +00:00
Frontend Remove use of builtin comma operator. 2016-02-18 22:34:54 +00:00
FrontendTool Revert r260265, "clang-cl: Support loading plugins on Windows" 2016-02-11 16:33:20 +00:00
Headers [CLANG] [AVX512] [BUILTIN] Adding pmovsx{b|d|w}{w|d|q}{128|256|512} builtin to clang 2016-02-18 09:09:34 +00:00
Index clangIndex requires LLVMIR as Core, since r260858 uses llvm/IR. 2016-02-15 04:29:36 +00:00
Lex Remove use of builtin comma operator. 2016-02-18 22:34:54 +00:00
Parse [Sema] PR25181 Fix crash when method declaration with throw spec fails to parse correctly 2016-02-19 01:15:08 +00:00
Rewrite Remove use of builtin comma operator. 2016-02-18 22:34:54 +00:00
Sema Implement the likely resolution of core issue 253. 2016-02-19 01:52:46 +00:00
Serialization Implement the likely resolution of core issue 253. 2016-02-19 01:52:46 +00:00
StaticAnalyzer [analyzer] Add checker callback for beginning of function. 2016-02-19 01:35:10 +00:00
Tooling Stop using "template" when printing qualtype names 2016-02-16 20:34:27 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00