Add more missing ASTWalker macro behavior entries

This commit is contained in:
Doug Gregor
2023-02-28 19:13:02 -08:00
parent 200f2340d9
commit 7a1c558899
6 changed files with 56 additions and 0 deletions

View File

@@ -37,6 +37,10 @@ public:
ASTScriptWalker(const ASTScript &script, ProtocolDecl *viewProtocol)
: Script(script), ViewProtocol(viewProtocol) {}
MacroWalking getMacroWalkingBehavior() const override {
return MacroWalking::Expansion;
}
PreWalkAction walkToDeclPre(Decl *D) override {
visit(D);
return Action::Continue();