r174606 - libclang: CursorVisitor::VisitBuiltinTypeLoc(): Add OCLSampler. [-Wswitch]
NAKAMURA Takumi
geek4civic at gmail.com
Thu Feb 7 04:47:42 PST 2013
Author: chapuni
Date: Thu Feb 7 06:47:42 2013
New Revision: 174606
URL: http://llvm.org/viewvc/llvm-project?rev=174606&view=rev
Log:
libclang: CursorVisitor::VisitBuiltinTypeLoc(): Add OCLSampler. [-Wswitch]
Modified:
cfe/trunk/tools/libclang/CIndex.cpp
Modified: cfe/trunk/tools/libclang/CIndex.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/CIndex.cpp?rev=174606&r1=174605&r2=174606&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/CIndex.cpp (original)
+++ cfe/trunk/tools/libclang/CIndex.cpp Thu Feb 7 06:47:42 2013
@@ -1398,6 +1398,7 @@ bool CursorVisitor::VisitBuiltinTypeLoc(
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:
More information about the cfe-commits
mailing list