[PATCH] D25755: [CUDA] Rework tests now that we emit deferred diagnostics during sema. Test-only change.
Justin Lebar via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 18 15:48:18 PDT 2016
jlebar created this revision.
jlebar added a reviewer: tra.
jlebar added a subscriber: cfe-commits.
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.
https://reviews.llvm.org/D25755
Files:
clang/test/PCH/pragma-cuda-force-host-device.cu
clang/test/Parser/cuda-force-host-device-templates.cu
clang/test/SemaCUDA/device-var-init.cu
clang/test/SemaCUDA/exceptions-host-device.cu
clang/test/SemaCUDA/exceptions.cu
clang/test/SemaCUDA/function-overload-hd.cu
clang/test/SemaCUDA/function-overload.cu
clang/test/SemaCUDA/implicit-device-lambda-hd.cu
clang/test/SemaCUDA/implicit-device-lambda.cu
clang/test/SemaCUDA/static-vars-hd.cu
clang/test/SemaCUDA/vla-host-device.cu
clang/test/SemaCUDA/vla.cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25755.75080.patch
Type: text/x-patch
Size: 10487 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161018/701d0e6a/attachment-0001.bin>
More information about the cfe-commits
mailing list