Split the PipeType into two derived classes. This allows Sema to diagnose passing read_only to write_only and vice versa.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM. Thanks!
A few minor comments regarding outdated comments and style.
include/clang/AST/ASTContext.h | ||
---|---|---|
1124 | Please, update the comment to specify that this function return pipe type with '__read_only' access qualifier. | |
lib/AST/ASTContext.cpp | ||
3341 | Please, remove this comment. It's a copy of the comment from the header file. | |
lib/Serialization/ASTReader.cpp | ||
5806–5807 | Please, separate case with an empty line. |
Please, update the comment to specify that this function return pipe type with '__read_only' access qualifier.