[PATCH] D12855: [OpenCL] Add new types for OpenCL 2.0.
Pekka Jääskeläinen via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 14 22:47:31 PDT 2015
pekka.jaaskelainen accepted this revision.
pekka.jaaskelainen added a comment.
This revision is now accepted and ready to land.
The patch seems straightforward enough. BTW does someone know if anyone has worked on the 'pipe' qualifier?
================
Comment at: lib/Serialization/ASTCommon.cpp:70
@@ -69,1 +69,3 @@
case BuiltinType::OCLImage2dArray: ID = PREDEF_TYPE_IMAGE2D_ARR_ID; break;
+ case BuiltinType::OCLImage2dDepth:
+ ID = PREDEF_TYPE_IMAGE2D_DEP_ID;
----------------
A nitpick, but why deviate from the style where each case has been stuffed to a single line?
http://reviews.llvm.org/D12855
More information about the cfe-commits
mailing list