diff options
| author | Aaron Ballman <aaron@aaronballman.com> | 2014-01-03 14:06:37 +0000 |
|---|---|---|
| committer | Aaron Ballman <aaron@aaronballman.com> | 2014-01-03 14:06:37 +0000 |
| commit | 5dff61d322ae0279283fca1f8ec1ee6810a88fd8 (patch) | |
| tree | 3c3a76b686e3cad58e60da3274d340543e886149 /clang/lib | |
| parent | 4a97967b5fd77b28a1812a4898d3e1a4a10cb8b3 (diff) | |
| download | bcm5719-llvm-5dff61d322ae0279283fca1f8ec1ee6810a88fd8.tar.gz bcm5719-llvm-5dff61d322ae0279283fca1f8ec1ee6810a88fd8.zip | |
Removing some more unnecessary manual quotes from diagnostics.
llvm-svn: 198416
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Sema/SemaObjCProperty.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaObjCProperty.cpp b/clang/lib/Sema/SemaObjCProperty.cpp index a1d74273d7b..9f09575fd4a 100644 --- a/clang/lib/Sema/SemaObjCProperty.cpp +++ b/clang/lib/Sema/SemaObjCProperty.cpp @@ -1544,7 +1544,7 @@ void Sema::DefaultSynthesizeProperties(Scope *S, ObjCImplDecl* IMPDecl, !IMPDecl->getInstanceMethod(Prop->getSetterName()) && !IDecl->HasUserDeclaredSetterMethod(Prop)) { Diag(Prop->getLocation(), diag::warn_no_autosynthesis_property) - << Prop->getIdentifier()->getName(); + << Prop->getIdentifier(); Diag(PropInSuperClass->getLocation(), diag::note_property_declare); } continue; @@ -1553,7 +1553,7 @@ void Sema::DefaultSynthesizeProperties(Scope *S, ObjCImplDecl* IMPDecl, IMPDecl->FindPropertyImplIvarDecl(Prop->getIdentifier())) { if (PID->getPropertyDecl() != Prop) { Diag(Prop->getLocation(), diag::warn_no_autosynthesis_shared_ivar_property) - << Prop->getIdentifier()->getName(); + << Prop->getIdentifier(); if (!PID->getLocation().isInvalid()) Diag(PID->getLocation(), diag::note_property_synthesize); } |

