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 | 05da52cced3bc8edbc02dde560d3ebfc716d42b3 (patch) | |
tree | 80bb11b6476e75601d3d498840d1f4637a738ff3 /test/Lexer | |
parent | 2127f33091b716cd9013fffa894366cc69dcf102 (diff) |
[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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@283064 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Lexer')
-rw-r--r-- | test/Lexer/coroutines.cpp | 2 | ||||
-rw-r--r-- | test/Lexer/cxx-features.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Lexer/coroutines.cpp b/test/Lexer/coroutines.cpp index 86d5f96937..186c84b36e 100644 --- a/test/Lexer/coroutines.cpp +++ b/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/test/Lexer/cxx-features.cpp b/test/Lexer/cxx-features.cpp index 5a4c45ddc1..2f751acc81 100644 --- a/test/Lexer/cxx-features.cpp +++ b/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 |