aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaObjCProperty.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2012-06-29 18:43:30 +0000
committerFariborz Jahanian <fjahanian@apple.com>2012-06-29 18:43:30 +0000
commit20e7d992140cc6bc94f2e65f3638346527150756 (patch)
treead875608d20a2c4fd481ccc8c8a999fd1a3cd295 /lib/Sema/SemaObjCProperty.cpp
parente25d3df6df39ecca4dad4647be2713cb85653634 (diff)
objc diagnostic: pass IdentifierInfo* to the diagnostic system
to produce quotes instead of adding qoute to the test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159450 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaObjCProperty.cpp')
-rw-r--r--lib/Sema/SemaObjCProperty.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Sema/SemaObjCProperty.cpp b/lib/Sema/SemaObjCProperty.cpp
index 1794f6618a..aace5ec11b 100644
--- a/lib/Sema/SemaObjCProperty.cpp
+++ b/lib/Sema/SemaObjCProperty.cpp
@@ -829,8 +829,8 @@ Decl *Sema::ActOnPropertyImplDecl(Scope *S,
if (originalIvar) {
Diag(PropertyDiagLoc,
diag::warn_autosynthesis_property_ivar_match)
- << property->getName() << (Ivar == 0) << PropertyIvar->getName()
- << originalIvar->getName();
+ << propertyId << (Ivar == 0) << PropertyIvar
+ << originalIvar->getIdentifier();
Diag(property->getLocation(), diag::note_property_declare);
Diag(originalIvar->getLocation(), diag::note_ivar_decl);
}