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 3afd6a7 commit a127d78Copy full SHA for a127d78
lib/Parse/ASTGen.cpp
@@ -550,7 +550,7 @@ MagicIdentifierLiteralExpr::Kind ASTGen::getMagicIdentifierLiteralKind(tok Kind)
550
}
551
552
ValueDecl *ASTGen::lookupInScope(DeclName Name) {
553
- return Context.LangOpts.EnableASTScopeLookup
+ return Context.LangOpts.EnableASTScopeLookup && Context.LangOpts.DisableParserLookup
554
? nullptr
555
: (*ParserState)->getScopeInfo().lookupValueName(Name);
556
0 commit comments