[PATCH] D26746: [OpenCL] Split PipeType into ReadPipe/WritePipe
Joey Gouly via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 16 06:37:06 PST 2016
joey created this revision.
joey added a subscriber: cfe-commits.
joey set the repository for this revision to rL LLVM.
Herald added a subscriber: yaxunl.
Split the PipeType into two derived classes. This allows Sema to diagnose passing read_only to write_only and vice versa.
Repository:
rL LLVM
https://reviews.llvm.org/D26746
Files:
include/clang/AST/ASTContext.h
include/clang/AST/Type.h
include/clang/Sema/Sema.h
include/clang/Serialization/ASTBitCodes.h
lib/AST/ASTContext.cpp
lib/AST/TypePrinter.cpp
lib/Sema/SemaType.cpp
lib/Sema/TreeTransform.h
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTWriter.cpp
test/Misc/ast-dump-pipe.cl
test/SemaOpenCL/access-qualifier.cl
test/SemaOpenCL/invalid-pipes-cl2.0.cl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26746.78182.patch
Type: text/x-patch
Size: 15574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161116/a5cd0e33/attachment-0001.bin>
More information about the cfe-commits
mailing list