]> granicus.if.org Git - clang/commitdiff
Fixed code style of my change.
authorSerge Pavlov <sepavloff@gmail.com>
Tue, 15 Oct 2013 14:24:32 +0000 (14:24 +0000)
committerSerge Pavlov <sepavloff@gmail.com>
Tue, 15 Oct 2013 14:24:32 +0000 (14:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192708 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaLookup.cpp

index 6ffb78776878e81f812338d30d7e5f7d3dabe7bb..6185e232c597844b8f0e5ebed4f394d274fb88e6 100644 (file)
@@ -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.
-          NamedDeclCorrectionDecl = Cached->second.getCorrectionDecl();
+          NamedDecl *CorrectionDecl = Cached->second.getCorrectionDecl();
           DeclarationNameInfo NameInfo(CorrectionDecl->getDeclName(),
                                        CorrectionDecl->getLocation());
           LookupResult R(*this, NameInfo, LookupOrdinaryName);