commit | d203a162966cfc2157857f5fdfb0e30a4f669281 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Jan 01 00:15:04 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Jan 01 00:15:04 2010 +0000 |
tree | 156f14133ea3275f09dcf01ac209f6be873d07d0 | |
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