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/Driver/coroutines.c | |
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/Driver/coroutines.c')
-rw-r--r-- | clang/test/Driver/coroutines.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Driver/coroutines.c b/clang/test/Driver/coroutines.c new file mode 100644 index 00000000000..d61023450ad --- /dev/null +++ b/clang/test/Driver/coroutines.c @@ -0,0 +1,6 @@ +// RUN: %clang -### %s 2>&1 | FileCheck -check-prefix=CHECK-NO-CORO %s +// RUN: %clang -fcoroutines-ts -### %s 2>&1 | FileCheck -check-prefix=CHECK-NO-CORO %s +// RUN: %clang -fno-coroutines-ts -### %s 2>&1 | FileCheck -check-prefix=CHECK-NO-CORO %s +// RUN: %clang -fno-coroutines-ts -fcoroutines-ts -### %s 2>&1 | FileCheck -check-prefix=CHECK-NO-CORO %s +// CHECK-NO-CORO-NOT: -fcoroutines-ts + |