aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaType.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Sema/SemaType.cpp')
-rw-r--r--lib/Sema/SemaType.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaType.cpp b/lib/Sema/SemaType.cpp
index 96800dd4d1..dfd024b31e 100644
--- a/lib/Sema/SemaType.cpp
+++ b/lib/Sema/SemaType.cpp
@@ -781,7 +781,7 @@ static void HandleObjCGCTypeAttribute(QualType &Type,
const AttributeList &Attr, Sema &S){
// FIXME. change error code.
if (Type.getObjCGCAttr() != QualType::GCNone) {
- S.Diag(Attr.getLoc(), diag::err_attribute_address_multiple_qualifiers);
+ S.Diag(Attr.getLoc(), diag::err_attribute_multiple_objc_gc);
return;
}