summaryrefslogtreecommitdiff
path: root/test/SemaObjC/category-1.m
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-01-03 18:01:57 +0000
committerDouglas Gregor <dgregor@apple.com>2010-01-03 18:01:57 +0000
commitf06cdae9c68dfc4191fbf6b9e5ea0fd748488d88 (patch)
tree2354bfa622035a1dd2cf4d18161aee9acd92e1f0 /test/SemaObjC/category-1.m
parent368a55d3ce5d66c6d0502c6f8bf061c06961042c (diff)
downloadclang-f06cdae9c68dfc4191fbf6b9e5ea0fd748488d88.tar.gz
Implement typo correction for a variety of Objective-C-specific
constructs: - Instance variable lookup ("foo->ivar" and, in instance methods, "ivar") - Property name lookup ("foo.prop") - Superclasses - Various places where a class name is required - Protocol names (e.g., id<proto>) This seems to cover many of the common places where typos could occur. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92449 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaObjC/category-1.m')
-rw-r--r--test/SemaObjC/category-1.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaObjC/category-1.m b/test/SemaObjC/category-1.m
index 17c6b46202..33e4646837 100644
--- a/test/SemaObjC/category-1.m
+++ b/test/SemaObjC/category-1.m
@@ -29,7 +29,7 @@
@interface MyClass1 (Category) <p2, p3> @end // expected-warning {{cannot find protocol definition for 'p2'}}
-@interface MyClass (Category) @end // expected-error {{cannot find interface declaration for 'MyClass'}}
+@interface UnknownClass (Category) @end // expected-error {{cannot find interface declaration for 'UnknownClass'}}
@class MyClass2;