]> granicus.if.org Git - clang/commit
[CUDA] Simplify some repeated diagnostic expectations in CUDA tests.
authorJustin Lebar <jlebar@google.com>
Fri, 21 Oct 2016 20:50:47 +0000 (20:50 +0000)
committerJustin Lebar <jlebar@google.com>
Fri, 21 Oct 2016 20:50:47 +0000 (20:50 +0000)
commit583d818adcdfbb239ea81ef73c33c837ec3c3980
treece478941ddb7e37d618eb9624a363aff0555db5b
parente7cf8220a5965cc96fe224142331a7dc58394313
[CUDA] Simplify some repeated diagnostic expectations in CUDA tests.

Instead of repeating the diagnostic, use "expected-note N".

Test-only change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@284882 91177308-0d34-0410-b5e6-96231b3b80d8
test/SemaCUDA/bad-calls-on-same-line.cu
test/SemaCUDA/call-device-fn-from-host.cu
test/SemaCUDA/call-host-fn-from-device.cu
test/SemaCUDA/trace-through-global.cu