diff options
| author | Gor Nishanov <GorNishanov@gmail.com> | 2016-10-02 03:31:58 +0000 |
|---|---|---|
| committer | Gor Nishanov <GorNishanov@gmail.com> | 2016-10-02 03:31:58 +0000 |
| commit | 4ffb434ca870674c67c106c40f13d322361384c9 (patch) | |
| tree | a72bc534d135a38d97220f0cf6392119df5d2760 /clang/test/Lexer | |
| parent | e84372b039e1d965fe27d978e38f27c585dd3185 (diff) | |
| download | bcm5719-llvm-4ffb434ca870674c67c106c40f13d322361384c9.tar.gz bcm5719-llvm-4ffb434ca870674c67c106c40f13d322361384c9.zip | |
[coroutines] Rename driver flag -fcoroutines to -fcoroutines-ts
Summary:
Also makes -fcoroutines_ts to be both a Driver and CC1 flag.
Patch mostly by EricWF.
Reviewers: rnk, cfe-commits, rsmith, EricWF
Subscribers: mehdi_amini
Differential Revision: https://reviews.llvm.org/D25130
llvm-svn: 283064
Diffstat (limited to 'clang/test/Lexer')
| -rw-r--r-- | clang/test/Lexer/coroutines.cpp | 2 | ||||
| -rw-r--r-- | clang/test/Lexer/cxx-features.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Lexer/coroutines.cpp b/clang/test/Lexer/coroutines.cpp index 86d5f969374..186c84b36ed 100644 --- a/clang/test/Lexer/coroutines.cpp +++ b/clang/test/Lexer/coroutines.cpp @@ -1,5 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only %s -// RUN: %clang_cc1 -fcoroutines -DCORO -fsyntax-only %s +// RUN: %clang_cc1 -fcoroutines-ts -DCORO -fsyntax-only %s #ifdef CORO #define CORO_KEYWORD(NAME) _Static_assert(!__is_identifier(NAME), #NAME) diff --git a/clang/test/Lexer/cxx-features.cpp b/clang/test/Lexer/cxx-features.cpp index 5a4c45ddc1a..2f751acc816 100644 --- a/clang/test/Lexer/cxx-features.cpp +++ b/clang/test/Lexer/cxx-features.cpp @@ -5,7 +5,7 @@ // RUN: %clang_cc1 -std=c++1z -fcxx-exceptions -fsized-deallocation -verify %s // RUN: %clang_cc1 -std=c++1z -fcxx-exceptions -fsized-deallocation -fconcepts-ts -DCONCEPTS_TS=1 -verify %s // RUN: %clang_cc1 -fno-rtti -verify %s -DNO_EXCEPTIONS -DNO_RTTI -// RUN: %clang_cc1 -fcoroutines -DNO_EXCEPTIONS -DCOROUTINES -verify %s +// RUN: %clang_cc1 -fcoroutines-ts -DNO_EXCEPTIONS -DCOROUTINES -verify %s // expected-no-diagnostics |

