summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/property-3.m
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-11-24 03:54:41 +0000
committerChris Lattner <sabre@nondot.org>2008-11-24 03:54:41 +0000
commit86d7d91366f5c8f7ae17521abf630ddfd9b4d40e (patch)
tree494e321a9219e5206a02ad7d87a699de983deb9e /clang/test/SemaObjC/property-3.m
parent9b1f2792baefb5192373e4c6260a3d437086cf2e (diff)
downloadbcm5719-llvm-86d7d91366f5c8f7ae17521abf630ddfd9b4d40e.tar.gz
bcm5719-llvm-86d7d91366f5c8f7ae17521abf630ddfd9b4d40e.zip
Rename NamedDecl::getIdentifierName() to ::getNameAsCString() and make it
assert if the name is not an identifier. Update callers to do the right thing and avoid this method in unsafe cases. This also fixes an objc warning that was missing a space, and migrates a couple more to taking IdentifierInfo and QualTypes instead of std::strings. llvm-svn: 59936
Diffstat (limited to 'clang/test/SemaObjC/property-3.m')
-rw-r--r--clang/test/SemaObjC/property-3.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaObjC/property-3.m b/clang/test/SemaObjC/property-3.m
index b22059c2382..ed1d1bd2443 100644
--- a/clang/test/SemaObjC/property-3.m
+++ b/clang/test/SemaObjC/property-3.m
@@ -9,6 +9,6 @@
@end
@interface NOW : I
-@property (readonly, retain) id d1; // expected-warning {{attribute 'readonly' of property 'd1' restricts attribute 'readwrite' of property inherited from 'I'}} expected-warning {{property 'd1' 'copy' attribute does not match the property inherited from'I'}}
+@property (readonly, retain) id d1; // expected-warning {{attribute 'readonly' of property 'd1' restricts attribute 'readwrite' of property inherited from 'I'}} expected-warning {{property 'd1' 'copy' attribute does not match the property inherited from 'I'}}
@property (readwrite, copy) I* d2; // expected-warning {{property type 'I *' does not match property type inherited from 'I'}}
@end
OpenPOWER on IntegriCloud