diff options
author | Justin Lebar <jlebar@google.com> | 2016-10-19 00:06:49 +0000 |
---|---|---|
committer | Justin Lebar <jlebar@google.com> | 2016-10-19 00:06:49 +0000 |
commit | f210037cd8ee98faefe61e47ab9984e4ebceb4a8 (patch) | |
tree | c3e29bd8e50c082e3a562fc41e6087a3e4ba0589 /test/PCH | |
parent | 7311b27698a0dcf131622c86d09c0aa68a86054b (diff) |
[CUDA] Rework tests now that we emit deferred diagnostics during sema. Test-only change.
Summary:
Previously we had to split out a lot of our tests into a test that
checked only immediate errors and a test that checked only deferred
errors. This was because, if you emitted any immediate errors, we
wouldn't run codegen, where the deferred errors were emitted.
We've fixed this, and now emit deferred errors during sema. This lets
us merge a bunch of tests, and lets us convert some other tests to
-fsyntax-only.
Reviewers: tra
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D25755
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@284553 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/PCH')
-rw-r--r-- | test/PCH/pragma-cuda-force-host-device.cu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/PCH/pragma-cuda-force-host-device.cu b/test/PCH/pragma-cuda-force-host-device.cu index dc006be960..1eaa453ad7 100644 --- a/test/PCH/pragma-cuda-force-host-device.cu +++ b/test/PCH/pragma-cuda-force-host-device.cu @@ -1,5 +1,5 @@ // RUN: %clang_cc1 -emit-pch %s -o %t -// RUN: %clang_cc1 -verify -verify-ignore-unexpected=note -include-pch %t -S -o /dev/null %s +// RUN: %clang_cc1 -verify -verify-ignore-unexpected=note -include-pch %t -fsyntax-only %s #ifndef HEADER #define HEADER |