[PATCH] D15858: Warn undeclared identifiers in CUDA kernel calls

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 5 09:27:14 PST 2016


jlebar added inline comments.

================
Comment at: test/SemaCUDA/kernel-call.cu:27
@@ -26,1 +26,3 @@
+
+  g1<<<undeclared, 1>>>(42); // expected-error {{use of undeclared identifier 'undeclared'}}
 }
----------------
We set four things in setConfig -- does this test fail if any one of them is commented out?  If not, is it hard to add additional tests that will cover the changes?


http://reviews.llvm.org/D15858





More information about the cfe-commits mailing list