summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2013-05-14 23:24:17 +0000
committerFariborz Jahanian <fjahanian@apple.com>2013-05-14 23:24:17 +0000
commit773df4a11fab7484640ec4f42e27123c0f1ed0d6 (patch)
tree5f071985268104d940e9f9a1d94035e635bece8a /clang/test/Modules
parent230826cc424577759568edd39089181389a44919 (diff)
downloadbcm5719-llvm-773df4a11fab7484640ec4f42e27123c0f1ed0d6.tar.gz
bcm5719-llvm-773df4a11fab7484640ec4f42e27123c0f1ed0d6.zip
Objective-C [diagnostics] [QOI], when method is not
found for a receiver, note where receiver class is declaraed (this is most common when receiver is a forward class). // rdar://3258331 llvm-svn: 181847
Diffstat (limited to 'clang/test/Modules')
-rw-r--r--clang/test/Modules/objc-categories.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Modules/objc-categories.m b/clang/test/Modules/objc-categories.m
index 81fb28bafb2..07d1760980e 100644
--- a/clang/test/Modules/objc-categories.m
+++ b/clang/test/Modules/objc-categories.m
@@ -10,6 +10,7 @@
// expected-note@Inputs/category_left.h:14 {{previous definition}}
// expected-warning@Inputs/category_right.h:11 {{duplicate definition of category}}
+// expected-note@Inputs/category_top.h:1 {{receiver is object of the class that is declared here}}
@interface Foo(Source)
-(void)source;
OpenPOWER on IntegriCloud