clangd: repair the build after SVN r358091

Fix the name of the variable being checked.  NFCI.

llvm-svn: 358093
This commit is contained in:
Saleem Abdulrasool 2019-04-10 15:45:05 +00:00
parent 8eae988b89
commit aef7247adb
1 changed files with 1 additions and 1 deletions

View File

@ -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.