summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaelyn Takata <rikka@google.com>2014-06-17 23:47:29 +0000
committerKaelyn Takata <rikka@google.com>2014-06-17 23:47:29 +0000
commita95ebc6801c8d162534034e80d61a3d84bfb265c (patch)
tree09142f11bd91a4c2d404de061c0f4f0016c06bf6
parent61df4a787ebcf3cbe11530c9c423140680ae1f13 (diff)
downloadbcm5719-llvm-a95ebc6801c8d162534034e80d61a3d84bfb265c.tar.gz
bcm5719-llvm-a95ebc6801c8d162534034e80d61a3d84bfb265c.zip
Fix the caller of checkCorrectionVisibility too.
That's what I get for hurredly splitting the small change out of a much bigger change that had moved where checkCorrectionVisibility was being called. llvm-svn: 211134
-rw-r--r--clang/lib/Sema/SemaLookup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaLookup.cpp b/clang/lib/Sema/SemaLookup.cpp
index 788ca87c4e0..9abff2c45de 100644
--- a/clang/lib/Sema/SemaLookup.cpp
+++ b/clang/lib/Sema/SemaLookup.cpp
@@ -4384,7 +4384,7 @@ TypoCorrection Sema::CorrectTypo(const DeclarationNameInfo &TypoName,
TypoCorrection TC = Result;
TC.setCorrectionRange(SS, TypoName);
- checkCorrectionVisibility(*this, TC, TypoName.getName());
+ checkCorrectionVisibility(*this, TC);
return TC;
}
// Ugly hack equivalent to CTC == CTC_ObjCMessageReceiver;
OpenPOWER on IntegriCloud