diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2013-05-15 15:27:35 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2013-05-15 15:27:35 +0000 |
commit | 14040142a3b3c1029092bc1f7c51e347c3fa8f89 (patch) | |
tree | 25a8f3ce2536abffc903eb3be145b2a5e4fa9ec5 /test/SemaObjCXX | |
parent | 92b522db4e3d79e2fab5fd4ce1574afef201ae58 (diff) | |
download | clang-14040142a3b3c1029092bc1f7c51e347c3fa8f89.tar.gz |
improve of note message and minor refactoring of my last
patch (r181847).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181896 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaObjCXX')
-rw-r--r-- | test/SemaObjCXX/instancetype.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaObjCXX/instancetype.mm b/test/SemaObjCXX/instancetype.mm index 87663b9716..89ff2b4b03 100644 --- a/test/SemaObjCXX/instancetype.mm +++ b/test/SemaObjCXX/instancetype.mm @@ -25,7 +25,7 @@ - (instancetype)otherMethodInProto2; // expected-note{{overridden method returns an instance of its class type}} @end -@interface Subclass1 : Root // expected-note 4 {{receiver is object of the class that is declared here}} +@interface Subclass1 : Root // expected-note 4 {{receiver is instance of class declared here}} - (instancetype)initSubclass1; - (void)methodOnSubclass1; + (instancetype)allocSubclass1; |