We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f42a5d commit 45a0979Copy full SHA for 45a0979
include/swift/AST/ASTWalker.h
@@ -523,7 +523,9 @@ class ASTWalker {
523
}
524
525
/// This method configures how the walker should walk into uses of macros.
526
- virtual MacroWalking getMacroWalkingBehavior() const = 0;
+ virtual MacroWalking getMacroWalkingBehavior() const {
527
+ return MacroWalking::ArgumentsAndExpansion;
528
+ }
529
530
/// Determine whether we should walk macro arguments (as they appear in
531
/// source) and the expansion (which is semantically part of the program).
0 commit comments