projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dca599
)
Since we now have a value for __cplusplus for c++14, teach libc++ about it
author
Marshall Clow
<mclow.lists@gmail.com>
Fri, 6 Jun 2014 22:31:09 +0000
(22:31 +0000)
committer
Marshall Clow
<mclow.lists@gmail.com>
Fri, 6 Jun 2014 22:31:09 +0000
(22:31 +0000)
llvm-svn: 210380
libcxx/include/__config
patch
|
blob
|
history
diff --git
a/libcxx/include/__config
b/libcxx/include/__config
index
609b587
..
c628524
100644
(file)
--- a/
libcxx/include/__config
+++ b/
libcxx/include/__config
@@
-623,8
+623,10
@@
template <unsigned> struct __static_assert_check {};
#ifndef _LIBCPP_STD_VER
# if __cplusplus <= 201103L
# define _LIBCPP_STD_VER 11
+# elif __cplusplus <= 201402L
+# define _LIBCPP_STD_VER 14
# else
-# define _LIBCPP_STD_VER 1
3 // current year, or date of c++14
ratification
+# define _LIBCPP_STD_VER 1
5 // current year, or date of c++17
ratification
# endif
#endif // _LIBCPP_STD_VER