[PATCH] D22946: [CUDA] Regression test to make sure C++ include path are forwarded to host and device frontends.

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 9 10:03:37 PDT 2016


tra added inline comments.

================
Comment at: test/Driver/cuda-detect.cu:75-77
@@ -74,1 +74,5 @@
 
+// Verify that compiler accepts CUDA syntax with "-x cuda-cpp-output".
+// RUN: %clang -Werror -fsyntax-only -x cuda-cpp-output -c %s
+//
+// Verify that C++ include paths are passed for both host and device frontends.
----------------
These two lines seem to be copy-pasted from cuda-simple.cu by mistake.


https://reviews.llvm.org/D22946





More information about the cfe-commits mailing list