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 {
10791079
10801080protected:
10811081 bool lookupLocalsOrMembers (DeclConsumer) const override ;
1082+ bool isLabeledStmtLookupTerminator () const override ;
10821083};
10831084
10841085class PatternEntryInitializerScope final : public AbstractPatternEntryScope {
Original file line number Diff line number Diff line change @@ -510,6 +510,10 @@ bool CaseStmtBodyScope::isLabeledStmtLookupTerminator() const {
510510 return false ;
511511}
512512
513+ bool PatternEntryDeclScope::isLabeledStmtLookupTerminator () const {
514+ return false ;
515+ }
516+
513517llvm::SmallVector<LabeledStmt *, 4 >
514518ASTScopeImpl::lookupLabeledStmts (SourceFile *sourceFile, SourceLoc loc) {
515519 // Find the innermost scope from which to start our search.
You can’t perform that action at this time.
0 commit comments