This patch to keep the pipe access qualifier inside PipeType itself looks cleaner overall than my previous approach.
Yaron had a post-commit comment, which lead me to re-think the original code.
Paths
| Differential D27049
[OpenCL] Refactor out ReadPipe/WritePipe ClosedPublic Authored by joey on Nov 23 2016, 7:39 AM.
Details
Summary This patch to keep the pipe access qualifier inside PipeType itself looks cleaner overall than my previous approach. Yaron had a post-commit comment, which lead me to re-think the original code.
Diff Detail
Event Timelinejoey updated this object.
yaron.keren edited edge metadata. Comment ActionsLGTM after fixing the inline comment
This revision is now accepted and ready to land.Nov 29 2016, 12:35 PM
Revision Contents
Diff 79399 include/clang/AST/ASTContext.h
include/clang/AST/Type.h
include/clang/Serialization/ASTBitCodes.h
lib/AST/ASTContext.cpp
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTWriter.cpp
test/SemaOpenCL/invalid-pipes-cl2.0.cl
|
I'm not too familar how PipeTypes should be merged, is it on purpose the process is not commutative,
ReadPipeType merged with WritePipeType is ReadPipeType
WritePipeType merged with ReadPipeType is WritePipeType