From f259aacb026c526fbf7897e08ebe39f522f09a45 Mon Sep 17 00:00:00 2001 From: Kaelyn Takata Date: Tue, 17 Jun 2014 23:47:29 +0000 Subject: [PATCH] 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211134 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaLookup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Sema/SemaLookup.cpp b/lib/Sema/SemaLookup.cpp index 788ca87c4e..9abff2c45d 100644 --- a/lib/Sema/SemaLookup.cpp +++ b/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; -- 2.50.1