[Lldb-commits] [PATCH] D13096: Handle new types in ClangASTContext::GetEncoding
Ed Maste via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 23 11:38:06 PDT 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rL248414: Handle new types in ClangASTContext::GetEncoding (authored by emaste).
Changed prior to commit:
http://reviews.llvm.org/D13096?vs=35532&id=35537#toc
Repository:
rL LLVM
http://reviews.llvm.org/D13096
Files:
lldb/trunk/source/Symbol/ClangASTContext.cpp
Index: lldb/trunk/source/Symbol/ClangASTContext.cpp
===================================================================
--- lldb/trunk/source/Symbol/ClangASTContext.cpp
+++ lldb/trunk/source/Symbol/ClangASTContext.cpp
@@ -4444,7 +4444,6 @@
case clang::Type::Builtin:
switch (llvm::cast<clang::BuiltinType>(qual_type)->getKind())
{
- default: assert(0 && "Unknown builtin type!");
case clang::BuiltinType::Void:
break;
@@ -4484,14 +4483,25 @@
case clang::BuiltinType::Kind::BuiltinFn:
case clang::BuiltinType::Kind::Dependent:
case clang::BuiltinType::Kind::Half:
+ case clang::BuiltinType::Kind::OCLClkEvent:
case clang::BuiltinType::Kind::OCLEvent:
case clang::BuiltinType::Kind::OCLImage1d:
case clang::BuiltinType::Kind::OCLImage1dArray:
case clang::BuiltinType::Kind::OCLImage1dBuffer:
case clang::BuiltinType::Kind::OCLImage2d:
case clang::BuiltinType::Kind::OCLImage2dArray:
+ case clang::BuiltinType::Kind::OCLImage2dArrayDepth:
+ case clang::BuiltinType::Kind::OCLImage2dArrayMSAA:
+ case clang::BuiltinType::Kind::OCLImage2dArrayMSAADepth:
+ case clang::BuiltinType::Kind::OCLImage2dDepth:
+ case clang::BuiltinType::Kind::OCLImage2dMSAA:
+ case clang::BuiltinType::Kind::OCLImage2dMSAADepth:
case clang::BuiltinType::Kind::OCLImage3d:
+ case clang::BuiltinType::Kind::OCLQueue:
+ case clang::BuiltinType::Kind::OCLNDRange:
+ case clang::BuiltinType::Kind::OCLReserveID:
case clang::BuiltinType::Kind::OCLSampler:
+ case clang::BuiltinType::Kind::OMPArraySection:
case clang::BuiltinType::Kind::Overload:
case clang::BuiltinType::Kind::PseudoObject:
case clang::BuiltinType::Kind::UnknownAny:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13096.35537.patch
Type: text/x-patch
Size: 1995 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150923/dd56c5ff/attachment.bin>
More information about the lldb-commits
mailing list