[Lldb-commits] [PATCH] D16055: Add clang::Type::Pipe to ClangASTContext
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Mon Jan 11 02:50:22 PST 2016
labath created this revision.
labath added a reviewer: clayborg.
labath added a subscriber: lldb-commits.
Clang recently added support for an OpenCL pipe type. Adding the new type to relevant switches to
avoid warnings.
http://reviews.llvm.org/D16055
Files:
source/Symbol/ClangASTContext.cpp
Index: source/Symbol/ClangASTContext.cpp
===================================================================
--- source/Symbol/ClangASTContext.cpp
+++ source/Symbol/ClangASTContext.cpp
@@ -4158,6 +4158,7 @@
case clang::Type::Decltype: break;
case clang::Type::TemplateSpecialization: break;
case clang::Type::Atomic: break;
+ case clang::Type::Pipe: break;
// pointer type decayed from an array or function type.
case clang::Type::Decayed: break;
@@ -4891,6 +4892,7 @@
case clang::Type::TemplateSpecialization:
case clang::Type::Atomic:
case clang::Type::Adjusted:
+ case clang::Type::Pipe:
break;
// pointer type decayed from an array or function type.
@@ -5008,6 +5010,7 @@
case clang::Type::TemplateSpecialization:
case clang::Type::Atomic:
case clang::Type::Adjusted:
+ case clang::Type::Pipe:
break;
// pointer type decayed from an array or function type.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16055.44456.patch
Type: text/x-patch
Size: 1152 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160111/ba5c4321/attachment.bin>
More information about the lldb-commits
mailing list