projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c812d52
)
Tell the driver that CUDA is a C++-like language, so that we get C++
author
Peter Collingbourne
<peter@pcc.me.uk>
Sun, 20 May 2012 23:28:36 +0000
(23:28 +0000)
committer
Peter Collingbourne
<peter@pcc.me.uk>
Sun, 20 May 2012 23:28:36 +0000
(23:28 +0000)
header searches with CUDA.
llvm-svn: 157172
clang/lib/Driver/Types.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Driver/Types.cpp
b/clang/lib/Driver/Types.cpp
index
50742fe
..
533e780
100644
(file)
--- a/
clang/lib/Driver/Types.cpp
+++ b/
clang/lib/Driver/Types.cpp
@@
-129,6
+129,7
@@
bool types::isCXX(ID Id) {
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;
}
}