projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61df4a7
)
Fix the caller of checkCorrectionVisibility too.
author
Kaelyn Takata
<rikka@google.com>
Tue, 17 Jun 2014 23:47:29 +0000
(23:47 +0000)
committer
Kaelyn Takata
<rikka@google.com>
Tue, 17 Jun 2014 23:47:29 +0000
(23:47 +0000)
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
clang/lib/Sema/SemaLookup.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Sema/SemaLookup.cpp
b/clang/lib/Sema/SemaLookup.cpp
index
788ca87
..
9abff2c
100644
(file)
--- 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;