diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-01-06 23:44:25 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-01-06 23:44:25 +0000 |
| commit | 10f1e4dda8a81defe476bc25b4d70bb1fdd345a6 (patch) | |
| tree | c5f0c274910f3e7f789519f5952b328a247ebe4d /clang/test | |
| parent | 2a43fd58ee98b7e411474fbc5c574981895cf641 (diff) | |
| download | bcm5719-llvm-10f1e4dda8a81defe476bc25b4d70bb1fdd345a6.tar.gz bcm5719-llvm-10f1e4dda8a81defe476bc25b4d70bb1fdd345a6.zip | |
When suggesting a typo correction for an @implementation without a
corresponding @interface, provide a note showing which interface we're
referring to. This note has the fix-it hint on it.
Also, don't automatically apply fix-it hints for notes. They're meant
to express fix-its that would change semantics.
llvm-svn: 92870
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/SemaObjC/undef-superclass-1.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/SemaObjC/undef-superclass-1.m b/clang/test/SemaObjC/undef-superclass-1.m index 56697e23c2b..0c2594cc226 100644 --- a/clang/test/SemaObjC/undef-superclass-1.m +++ b/clang/test/SemaObjC/undef-superclass-1.m @@ -13,7 +13,8 @@ @interface INTF2 : INTF1 @end -@interface INTF3 : Y // expected-error {{cannot find interface declaration for 'Y', superclass of 'INTF3'}} +@interface INTF3 : Y // expected-error {{cannot find interface declaration for 'Y', superclass of 'INTF3'}} \ + // expected-note{{'INTF3' declared here}} @end @interface INTF1 // expected-error {{duplicate interface definition for class 'INTF1'}} |

