diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-01-04 17:27:12 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-01-04 17:27:12 +0000 |
commit | 95ff742380d1c3dd5152739183bfe085cf27197f (patch) | |
tree | 6535008592d8aac8bb73a8baf33cc639a050717b /lib/Lex/Preprocessor.cpp | |
parent | 3f27b384801de26ce7efaa395699b42719372f24 (diff) |
When declaring an Objective-C implementation without a corresponding
interface, suggest correction of typos. For example, given:
@interface NSString
@end
@implementation NSstring
@end
we'll warn with:
t.m:4:19: warning: cannot find interface declaration for 'NSstring';
did you mean 'NSString'?
@implementation NSstring
^
However, since this is just a warning, we don't provide a fix-it
hint. Good idea, Ted!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92488 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/Preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions