File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1079,6 +1079,7 @@ class PatternEntryDeclScope final : public AbstractPatternEntryScope {
1079
1079
1080
1080
protected:
1081
1081
bool lookupLocalsOrMembers (DeclConsumer) const override ;
1082
+ bool isLabeledStmtLookupTerminator () const override ;
1082
1083
};
1083
1084
1084
1085
class PatternEntryInitializerScope final : public AbstractPatternEntryScope {
Original file line number Diff line number Diff line change @@ -510,6 +510,10 @@ bool CaseStmtBodyScope::isLabeledStmtLookupTerminator() const {
510
510
return false ;
511
511
}
512
512
513
+ bool PatternEntryDeclScope::isLabeledStmtLookupTerminator () const {
514
+ return false ;
515
+ }
516
+
513
517
llvm::SmallVector<LabeledStmt *, 4 >
514
518
ASTScopeImpl::lookupLabeledStmts (SourceFile *sourceFile, SourceLoc loc) {
515
519
// Find the innermost scope from which to start our search.
You can’t perform that action at this time.
0 commit comments