This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Rework tests now that we emit deferred diagnostics during sema. Test-only change.
ClosedPublic

Authored by jlebar on Oct 18 2016, 3:48 PM.

Details

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.

Diff Detail

Repository
rL LLVM

Event Timeline

jlebar updated this revision to Diff 75080.Oct 18 2016, 3:48 PM
jlebar retitled this revision from to [CUDA] Rework tests now that we emit deferred diagnostics during sema. Test-only change..
jlebar updated this object.
jlebar added a reviewer: tra.
jlebar added a subscriber: cfe-commits.
jlebar updated this revision to Diff 75085.Oct 18 2016, 4:01 PM

Remove line that should be added in a different patch.

tra accepted this revision.Oct 18 2016, 5:15 PM
tra edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Oct 18 2016, 5:15 PM
This revision was automatically updated to reflect the committed changes.
cfe/trunk/test/SemaCUDA/implicit-device-lambda.cu