[cfe-commits] r157172 - /cfe/trunk/lib/Driver/Types.cpp
Peter Collingbourne
peter at pcc.me.uk
Sun May 20 16:28:36 PDT 2012
Author: pcc
Date: Sun May 20 18:28:36 2012
New Revision: 157172
URL: http://llvm.org/viewvc/llvm-project?rev=157172&view=rev
Log:
Tell the driver that CUDA is a C++-like language, so that we get C++
header searches with CUDA.
Modified:
cfe/trunk/lib/Driver/Types.cpp
Modified: cfe/trunk/lib/Driver/Types.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Types.cpp?rev=157172&r1=157171&r2=157172&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Types.cpp (original)
+++ cfe/trunk/lib/Driver/Types.cpp Sun May 20 18:28:36 2012
@@ -129,6 +129,7 @@
case TY_ObjCXX: case TY_PP_ObjCXX:
case TY_CXXHeader: case TY_PP_CXXHeader:
case TY_ObjCXXHeader: case TY_PP_ObjCXXHeader:
+ case TY_CUDA:
return true;
}
}
More information about the cfe-commits
mailing list