summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaExprMember.cpp
diff options
context:
space:
mode:
authorKaelyn Takata <rikka@google.com>2014-10-27 18:07:40 +0000
committerKaelyn Takata <rikka@google.com>2014-10-27 18:07:40 +0000
commit9ab7fb6b731683581d0fe022b65bb45b40124cd2 (patch)
tree34bf6e9cd7122d06f9d3e6aba611a48fd5a77189 /clang/lib/Sema/SemaExprMember.cpp
parent6c759519bb374cbe9866d602665f4048b597a7e6 (diff)
downloadbcm5719-llvm-9ab7fb6b731683581d0fe022b65bb45b40124cd2.tar.gz
bcm5719-llvm-9ab7fb6b731683581d0fe022b65bb45b40124cd2.zip
Add simple way for a CorrectionCandidateCallback to reject exact
matches of the typo. Also be more proactive about checking a correction's visibility so that a correction requiring a module import can be distinguished from the original typo even if it looks identical. Otherwise the correction will be excluded and the diagnostic about needing the module import won't be emitted. Note that no change was made to checkCorrectionVisibility other than moving where it is at in SemaLookup.cpp. llvm-svn: 220696
Diffstat (limited to 'clang/lib/Sema/SemaExprMember.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud