This revision was automatically updated to reflect the committed changes.
Closed by commit rGec483c29a95c: [clang][ASTMatcher] Add matcher for
MacroQualifiedType (authored by dingfei fd...@feysh.com).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM!
Comment at: clang/include/clang/ASTMatchers/ASTMatchers.h:7261
+/// Matches macro qualified types.
+///
danix800 wrote:
>
danix800 updated this revision to Diff 550178.
danix800 added a comment.
1. Improve matcher description
2. Add a counter-example for test
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D15/new/
https://reviews.llvm.org/D15
Files:
danix800 added inline comments.
Comment at: clang/include/clang/ASTMatchers/ASTMatchers.h:7261
+/// Matches macro qualified types.
+///
aaron.ballman wrote:
> How about: Matches qualified types when the qualifier is applied via a macro.
>
> and then a second
aaron.ballman added inline comments.
Comment at: clang/include/clang/ASTMatchers/ASTMatchers.h:7261
+/// Matches macro qualified types.
+///
How about: Matches qualified types when the qualifier is applied via a macro.
and then a second example like:
```
int
danix800 updated this revision to Diff 549607.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D15/new/
https://reviews.llvm.org/D15
Files:
clang/docs/LibASTMatchersReference.html
clang/docs/ReleaseNotes.rst
danix800 updated this revision to Diff 549605.
danix800 added a comment.
Herald added a subscriber: martong.
Herald added a reviewer: shafik.
Add import of MacroQualifiedType.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D15/new/
danix800 created this revision.
danix800 added a project: clang.
Herald added a project: All.
danix800 requested review of this revision.
Herald added a subscriber: cfe-commits.
Add matcher for 'MacroQualifiedType'
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D15
Files: