[PATCH] D90303: [ASTMatchers] Made isExpandedFromMacro Polymorphic

2020-11-03 Thread Nathan James via Phabricator via cfe-commits
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?

[PATCH] D90303: [ASTMatchers] Made isExpandedFromMacro Polymorphic

2020-11-03 Thread Aaron Ballman via Phabricator via cfe-commits
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,

[PATCH] D90303: [ASTMatchers] Made isExpandedFromMacro Polymorphic

2020-11-02 Thread Nathan James via Phabricator via cfe-commits
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

[PATCH] D90303: [ASTMatchers] Made isExpandedFromMacro Polymorphic

2020-11-02 Thread Aaron Ballman via Phabricator via cfe-commits
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

[PATCH] D90303: [ASTMatchers] Made isExpandedFromMacro Polymorphic

2020-10-28 Thread Nathan James via Phabricator via cfe-commits
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