aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-04-14 02:46:37 +0000
committerDouglas Gregor <dgregor@apple.com>2010-04-14 02:46:37 +0000
commit8aa4ebf0bcf73be3520ee49da0c9ce9cfe66ba31 (patch)
treef6958f307754255f13c15ea299fc7c98fa15933a /clang/lib/Frontend/CompilerInvocation.cpp
parent5f40d349588a5625921be5fb486425ae763e29a8 (diff)
downloadllvm-8aa4ebf0bcf73be3520ee49da0c9ce9cfe66ba31.zip
llvm-8aa4ebf0bcf73be3520ee49da0c9ce9cfe66ba31.tar.gz
llvm-8aa4ebf0bcf73be3520ee49da0c9ce9cfe66ba31.tar.bz2
Implement typo correction for Objective-C message sends when the
receiver is a mis-typed class name. Previously, we would give a non-specific typo-correction diagnostic from the expression-parsing code, but there was no fix-it because it was too late to recover. Now, we give a nice diagnostic honk.m:6:4: error: unknown receiver 'Hnk'; did you mean 'Honk'? [Hnk method]; ^~~ Honk honk.m:1:1: note: 'Honk' declared here @interface Honk ^ which includes a fix-it. We still need to recover better from mis-typing "super". llvm-svn: 101211
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions