diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-01-01 00:15:04 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-01-01 00:15:04 +0000 |
commit | d203a162966cfc2157857f5fdfb0e30a4f669281 (patch) | |
tree | 156f14133ea3275f09dcf01ac209f6be873d07d0 /lib/CodeGen/CodeGenFunction.h | |
parent | c171e3b192a372669cf622ff0b6a847f8e5b4220 (diff) |
When typo correction for an id-expression finds a type (or Objective-C
class), provide a suggestion for the type or class found. However,
since we can't recover properly in this case, don't provide a fix-it
hint. Example:
test/FixIt/typo.m:8:3: error: use of undeclared identifier 'NSstring';
did you
mean 'NSString'?
NSstring *str = @"A string";
...
^
1 diagnostic generated.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92379 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions