llvm-project/libcxx/lib
Eric Fiselier a5e201fd55 [libcxx] Prefer C++14 over C++11 when building libc++experimental.
Summary:
Currently libc++experimental builds with C++11. This patch changes that to C++14 when supported by the compiler. Although nothing currently requires C++14 the upcoming <experimental/memory_resource> implementation would benefit from it. [1]

Note that libc++.so continues to build with C++11 and is unaffected by this change.

[1] <experimental/memory_resource> provides global resources which must exist for the entire lifetime of the program. In order to ensure that a global resource can be used during program termination there destructors must never be invoked. The only way to do this, while also allowing "constant initialization", is to use a C++14 union.


Reviewers: mclow.lists

Subscribers: pete, cfe-commits

Differential Revision: http://reviews.llvm.org/D19992

llvm-svn: 269070
2016-05-10 16:17:43 +00:00
..
CMakeLists.txt [libcxx] Prefer C++14 over C++11 when building libc++experimental. 2016-05-10 16:17:43 +00:00
buildit [libcxx] Remove -Wpadded from buildit script. 2016-01-27 01:55:11 +00:00
libc++abi.exp
libc++abi2.exp [libcxx] Reexport std::bad_array_length symbols from libc++abi on OS X. 2015-10-05 19:28:48 +00:00
libc++sjlj-abi.exp on Darwin re-export C++0x type infos 2011-05-24 20:26:04 +00:00
libc++unexp.exp
notweak.exp
weak.exp Fix <rdar://problem/10136825> 2011-10-04 23:11:56 +00:00