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.
2 parents c7cde3a + ca126bc commit c2ad27cCopy full SHA for c2ad27c
lib/Sema/CSGen.cpp
@@ -2942,6 +2942,14 @@ namespace {
2942
2943
return Action::Continue(expr);
2944
}
2945
+
2946
+ PreWalkAction walkToDeclPre(Decl *D) override {
2947
+ return Action::VisitChildrenIf(isa<PatternBindingDecl>(D));
2948
+ }
2949
2950
+ PreWalkResult<Pattern *> walkToPatternPre(Pattern *P) override {
2951
+ return Action::SkipChildren(P);
2952
2953
} collectVarRefs(CS);
2954
2955
closure->walk(collectVarRefs);
0 commit comments