diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-03-07 01:36:13 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-03-07 01:36:13 +0000 |
commit | b9eb3afc9eafbb1c6815c8b63633065f370be6a5 (patch) | |
tree | 8c89f5ea512e5ca9921db1755f0b1b97f71cf5d4 /lib/Sema/SemaDeclObjC.cpp | |
parent | 150ec292a6e7995a711cedbe7a10a25d664a6c6b (diff) |
Teach Diagnostic about Selector.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66314 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDeclObjC.cpp')
-rw-r--r-- | lib/Sema/SemaDeclObjC.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp index f91feb423f..a26581824f 100644 --- a/lib/Sema/SemaDeclObjC.cpp +++ b/lib/Sema/SemaDeclObjC.cpp @@ -1139,7 +1139,7 @@ void Sema::ProcessPropertyDecl(ObjCPropertyDecl *property, Diag(property->getLocation(), diag::err_accessor_property_type_mismatch) << property->getDeclName() - << GetterMethod->getSelector().getAsString(); + << GetterMethod->getSelector(); Diag(GetterMethod->getLocation(), diag::note_declared_at); } @@ -1152,7 +1152,7 @@ void Sema::ProcessPropertyDecl(ObjCPropertyDecl *property, Diag(property->getLocation(), diag::err_accessor_property_type_mismatch) << property->getDeclName() - << SetterMethod->getSelector().getAsString(); + << SetterMethod->getSelector(); Diag(SetterMethod->getLocation(), diag::note_declared_at); } } |