diff options
| author | Howard Hinnant <hhinnant@apple.com> | 2013-05-07 20:16:13 +0000 |
|---|---|---|
| committer | Howard Hinnant <hhinnant@apple.com> | 2013-05-07 20:16:13 +0000 |
| commit | 81aa5cb804590dcc0e64f2cb2a2052bcd3948b3b (patch) | |
| tree | fa56e90cd370b3366026b6fea0fa1fefc411f1cd /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | 9264c954003caea18ed08e09cd1f1b712aedde8a (diff) | |
| download | llvm-81aa5cb804590dcc0e64f2cb2a2052bcd3948b3b.zip llvm-81aa5cb804590dcc0e64f2cb2a2052bcd3948b3b.tar.gz llvm-81aa5cb804590dcc0e64f2cb2a2052bcd3948b3b.tar.bz2 | |
Introduce _LIBCPP_STD_VER. This can be set by the client (or the clang driver). Or it will be defaulted. The default is 11 if -std= c++11 or eariler, else it will default to the current year modulo the century. We anticipate it defaulting to 14 for C++14 when the time comes. For now, post-C++11 libcxx implementations should protect themselves with #if _LIBCPP_STD_VER > 11.
llvm-svn: 181347
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
