summaryrefslogtreecommitdiff
path: root/test/PCH
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
commit9f00b1d3962147a2fe049b8b45f70680bc12fbc1 (patch)
treeb69b0fffb37e3d242e9a8c70d671926fd45d101f /test/PCH
parent86a87308f11e7ee7c71ff608aec0cde11aa7df58 (diff)
downloadclang-9f00b1d3962147a2fe049b8b45f70680bc12fbc1.tar.gz
clang-9f00b1d3962147a2fe049b8b45f70680bc12fbc1.tar.bz2
clang-9f00b1d3962147a2fe049b8b45f70680bc12fbc1.tar.xz
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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181847 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/PCH')
-rw-r--r--test/PCH/chain-categories2.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/PCH/chain-categories2.m b/test/PCH/chain-categories2.m
index f230bf9348..8cb06a857c 100644
--- a/test/PCH/chain-categories2.m
+++ b/test/PCH/chain-categories2.m
@@ -45,6 +45,7 @@
#else
//===----------------------------------------------------------------------===//
+// expected-note@30 {{receiver is object of the class that is declared here}}
void f(I* i) {
[i meth]; // expected-warning {{not found}}
}