aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Lexer/cxx-features.cpp
diff options
context:
space:
mode:
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>2023-02-23 14:31:41 +0800
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>2023-02-23 14:40:58 +0800
commit6ed67ccba7e4699e9e42302f2f9b7653444258ba (patch)
tree926386bcbe6acbfc8295a4a1fcba018ca9fd784e /clang/test/Lexer/cxx-features.cpp
parente61e761643a887fca7ef2dbae14a6b96de67fa5d (diff)
downloadllvm-6ed67ccba7e4699e9e42302f2f9b7653444258ba.zip
llvm-6ed67ccba7e4699e9e42302f2f9b7653444258ba.tar.gz
llvm-6ed67ccba7e4699e9e42302f2f9b7653444258ba.tar.bz2
[Coroutines] Remove -fcoroutines-ts
Since we decided to remove the support for `-fcoroutines-ts` in clang/llvm17 and the clang16/llvm16 is branched. So we're going to remove the `-fcoroutines-ts` option.
Diffstat (limited to 'clang/test/Lexer/cxx-features.cpp')
-rw-r--r--clang/test/Lexer/cxx-features.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/Lexer/cxx-features.cpp b/clang/test/Lexer/cxx-features.cpp
index 4a2bf56..5dee2c8 100644
--- a/clang/test/Lexer/cxx-features.cpp
+++ b/clang/test/Lexer/cxx-features.cpp
@@ -8,7 +8,6 @@
// RUN: %clang_cc1 -std=c++17 -fcxx-exceptions -fsized-deallocation -frelaxed-template-template-args -DRELAXED_TEMPLATE_TEMPLATE_ARGS=1 -verify %s
// RUN: %clang_cc1 -std=c++17 -fcxx-exceptions -fsized-deallocation -DCONCEPTS_TS=1 -verify %s
// RUN: %clang_cc1 -std=c++14 -fno-rtti -fno-threadsafe-statics -verify %s -DNO_EXCEPTIONS -DNO_RTTI -DNO_THREADSAFE_STATICS -fsized-deallocation
-// RUN: %clang_cc1 -std=c++14 -fcoroutines-ts -DNO_EXCEPTIONS -DCOROUTINES -verify -fsized-deallocation %s
// RUN: %clang_cc1 -std=c++14 -fchar8_t -DNO_EXCEPTIONS -DCHAR8_T -verify -fsized-deallocation %s
// RUN: %clang_cc1 -std=c++2a -fno-char8_t -DNO_EXCEPTIONS -DNO_CHAR8_T -verify -fsized-deallocation %s
@@ -360,6 +359,6 @@
// --- TS features --
-#if defined(COROUTINES) ? check(coroutines, 201703, 201703, 201703, 201703, 201703, 201703) : check(coroutines, 0, 0, 0, 0, 201703, 201703)
+#if check(coroutines, 0, 0, 0, 0, 201703, 201703)
#error "wrong value for __cpp_coroutines"
#endif