diff options
-rw-r--r-- | clang/lib/Sema/SemaLookup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaLookup.cpp b/clang/lib/Sema/SemaLookup.cpp index 6ffb7877687..6185e232c59 100644 --- a/clang/lib/Sema/SemaLookup.cpp +++ b/clang/lib/Sema/SemaLookup.cpp @@ -4169,7 +4169,7 @@ TypoCorrection Sema::CorrectTypo(const DeclarationNameInfo &TypoName, if (!Cached->second.isKeyword() && isCandidateViable(CCC, Cached->second)) { // Do not use correction that is unaccessible in the given scope. - NamedDecl* CorrectionDecl = Cached->second.getCorrectionDecl(); + NamedDecl *CorrectionDecl = Cached->second.getCorrectionDecl(); DeclarationNameInfo NameInfo(CorrectionDecl->getDeclName(), CorrectionDecl->getLocation()); LookupResult R(*this, NameInfo, LookupOrdinaryName); |