diff options
author | Ted Kremenek <kremenek@apple.com> | 2012-01-04 23:51:09 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2012-01-04 23:51:09 +0000 |
commit | 22f18fd72d1a2205afdfa6a975b75cd76ef40f3a (patch) | |
tree | b9bf640e84f9377659574945d581164e2c5f5ab4 /lib | |
parent | e3659a78a96da3b9a5a90fa84c96078a84f0f3e3 (diff) |
Rename attribute 'objc_suppress_autosynthesis' to 'objc_disable_automatic_synthesis'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147567 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Sema/AttributeList.cpp | 2 | ||||
-rw-r--r-- | lib/Sema/SemaDeclAttr.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Sema/AttributeList.cpp b/lib/Sema/AttributeList.cpp index a8ccbb1f56..6892ce2f79 100644 --- a/lib/Sema/AttributeList.cpp +++ b/lib/Sema/AttributeList.cpp @@ -108,7 +108,7 @@ AttributeList::Kind AttributeList::getKind(const IdentifierInfo *Name) { .Case("weak", AT_weak) .Case("weakref", AT_weakref) .Case("objc_arc_weak_reference_unavailable", AT_arc_weakref_unavailable) - .Case("objc_suppress_autosynthesis", AT_objc_suppress_autosynthesis) + .Case("objc_disable_automatic_synthesis", AT_objc_disable_automatic_synthesis) .Case("pure", AT_pure) .Case("mode", AT_mode) .Case("used", AT_used) diff --git a/lib/Sema/SemaDeclAttr.cpp b/lib/Sema/SemaDeclAttr.cpp index 22a2cfe8a6..8431076a24 100644 --- a/lib/Sema/SemaDeclAttr.cpp +++ b/lib/Sema/SemaDeclAttr.cpp @@ -3620,7 +3620,7 @@ static void ProcessInheritableDeclAttr(Sema &S, Scope *scope, Decl *D, case AttributeList::AT_arc_weakref_unavailable: handleArcWeakrefUnavailableAttr (S, D, Attr); break; - case AttributeList::AT_objc_suppress_autosynthesis: + case AttributeList::AT_objc_disable_automatic_synthesis: handleObjCSuppressAutosynthesisAttr (S, D, Attr); break; case AttributeList::AT_unused: handleUnusedAttr (S, D, Attr); break; |