r253947 - Do not attempt to include CUDA headers during the test.

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 23 18:45:55 PST 2015


Author: tra
Date: Mon Nov 23 20:45:55 2015
New Revision: 253947

URL: http://llvm.org/viewvc/llvm-project?rev=253947&view=rev
Log:
Do not attempt to include CUDA headers during the test.

Modified:
    cfe/trunk/test/Driver/cuda-simple.cu

Modified: cfe/trunk/test/Driver/cuda-simple.cu
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cuda-simple.cu?rev=253947&r1=253946&r2=253947&view=diff
==============================================================================
--- cfe/trunk/test/Driver/cuda-simple.cu (original)
+++ cfe/trunk/test/Driver/cuda-simple.cu Mon Nov 23 20:45:55 2015
@@ -1,6 +1,6 @@
 // Verify that we can parse a simple CUDA file with or without -save-temps
 // http://llvm.org/PR22936
-// RUN: %clang  -Werror -fsyntax-only -c %s
+// RUN: %clang -nocudainc -Werror -fsyntax-only -c %s
 //
 // Verify that we pass -x cuda-cpp-output to compiler after 
 // preprocessing a CUDA file




More information about the cfe-commits mailing list