forked from OSchip/llvm-project
clangd: repair the build after SVN r358091
Fix the name of the variable being checked. NFCI. llvm-svn: 358093
This commit is contained in:
parent
8eae988b89
commit
aef7247adb
|
@ -581,7 +581,7 @@ getQueryScopes(CodeCompletionContext &CCContext, const Sema &CCSema,
|
|||
return {EnclosingAtFront, Opts.AllScopes};
|
||||
}
|
||||
// Case 3: sema saw and resolved a scope qualifier.
|
||||
if (Specifier && SemaSpecifier->isValid())
|
||||
if (SemaSpecifier && SemaSpecifier->isValid())
|
||||
return {Scopes.scopesForIndexQuery(), false};
|
||||
|
||||
// Case 4: There was a qualifier, and Sema didn't resolve it.
|
||||
|
|
Loading…
Reference in New Issue