aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaType.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-02-18 18:52:41 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-02-18 18:52:41 +0000
commit5934e75d98d99374f72722a69c5eefe026f35c74 (patch)
tree64958fe4386f71f5afd0a81d701b350e824fb22c /lib/Sema/SemaType.cpp
parent609b3ab97bdbdb46941c7ee5549269eb0a660412 (diff)
Start generating gc'able code using the new
objc gc type attributes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64935 91177308-0d34-0410-b5e6-96231b3b80d8
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;
}