summaryrefslogtreecommitdiffstats
path: root/clang/test/Lexer
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-05-25 14:58:46 +0000
committerEric Fiselier <eric@efcs.ca>2017-05-25 14:58:46 +0000
commit4bf928282f0d4d3b4af92ba9e404a770d653c2df (patch)
tree32af81a39e980a0fbc64a4a13b1ea0a060b56c59 /clang/test/Lexer
parent8779ea7aed2667d88693fd5088b533afa93ae8d5 (diff)
downloadbcm5719-llvm-4bf928282f0d4d3b4af92ba9e404a770d653c2df.tar.gz
bcm5719-llvm-4bf928282f0d4d3b4af92ba9e404a770d653c2df.zip
[coroutines] Bump __cpp_coroutines version
Summary: This patch is needed so that Libc++ can actually tess if Clang supports coroutines, instead of just paying lip service with a partial implementation. Otherwise the libc++ test suite will fail against older versions of Clang Reviewers: GorNishanov, rsmith Reviewed By: GorNishanov Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D33536 llvm-svn: 303867
Diffstat (limited to 'clang/test/Lexer')
-rw-r--r--clang/test/Lexer/cxx-features.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Lexer/cxx-features.cpp b/clang/test/Lexer/cxx-features.cpp
index d69ef08a59e..24f38e51d91 100644
--- a/clang/test/Lexer/cxx-features.cpp
+++ b/clang/test/Lexer/cxx-features.cpp
@@ -235,6 +235,6 @@
#error "wrong value for __cpp_experimental_concepts"
#endif
-#if (COROUTINES && !__cpp_coroutines) || (!COROUTINES && __cpp_coroutines)
+#if defined(COROUTINES) ? check(coroutines, 201703L, 201703L, 201703L, 201703L) : check(coroutines, 0, 0, 0, 0)
#error "wrong value for __cpp_coroutines"
#endif
OpenPOWER on IntegriCloud