This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb091af790f19: [ASTMatchers] Made isExpandedFromMacro
Polymorphic (authored by njames93).
Changed prior to commit:
https://reviews.llvm.org/D90303?
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM aside from testing request.
Comment at: clang/include/clang/ASTMatchers/ASTMatchers.h:313
+ AST_POLYMORPHIC_SUPPORTED_TYPES(Decl,
njames93 added inline comments.
Comment at: clang/include/clang/ASTMatchers/ASTMatchers.h:313
+ AST_POLYMORPHIC_SUPPORTED_TYPES(Decl, Stmt, TypeLoc),
+ std::string, MacroName) {
// Verifies that the statement' beginning and end
aaron.ballman added inline comments.
Comment at: clang/include/clang/ASTMatchers/ASTMatchers.h:313
+ AST_POLYMORPHIC_SUPPORTED_TYPES(Decl, Stmt, TypeLoc),
+ std::string, MacroName) {
// Verifies that the statement' beginning an
njames93 created this revision.
njames93 added reviewers: klimek, aaron.ballman.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
njames93 requested review of this revision.
Made the isExpandedFromMacro matcher work on Stmt's, TypeLocs and Decls in line
with the other macro