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:
bee0857
)
libclang: CursorVisitor::VisitBuiltinTypeLoc(): Add OCLSampler. [-Wswitch]
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Thu, 7 Feb 2013 12:47:42 +0000
(12:47 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Thu, 7 Feb 2013 12:47:42 +0000
(12:47 +0000)
llvm-svn: 174606
clang/tools/libclang/CIndex.cpp
patch
|
blob
|
history
diff --git
a/clang/tools/libclang/CIndex.cpp
b/clang/tools/libclang/CIndex.cpp
index 992451346b745e657da84a29ccf5143597611449..3d254a08c6c1fa82d83fbe83c5aabc84e5cffa2a 100644
(file)
--- a/
clang/tools/libclang/CIndex.cpp
+++ b/
clang/tools/libclang/CIndex.cpp
@@
-1398,6
+1398,7
@@
bool CursorVisitor::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) {
case BuiltinType::OCLImage2d:
case BuiltinType::OCLImage2dArray:
case BuiltinType::OCLImage3d:
+ case BuiltinType::OCLSampler:
case BuiltinType::OCLEvent:
#define BUILTIN_TYPE(Id, SingletonId)
#define SIGNED_TYPE(Id, SingletonId) case BuiltinType::Id: