aboutsummaryrefslogtreecommitdiff
path: root/lib/Parse/AttributeList.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-05-05 18:44:20 +0000
committerTed Kremenek <kremenek@apple.com>2009-05-05 18:44:20 +0000
commit69aa08072decc20094bd1f75f4f9842e9bd357ad (patch)
tree5d0cf553fe7a9b77d72dc4109b5e551b52dd9aba /lib/Parse/AttributeList.cpp
parent041f2fd6237c7ce72864e42c66c6b12b52f35f9c (diff)
Implement attribute 'ns_autorelease'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70990 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/AttributeList.cpp')
-rw-r--r--lib/Parse/AttributeList.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Parse/AttributeList.cpp b/lib/Parse/AttributeList.cpp
index 933e9f2b09..6dceda6432 100644
--- a/lib/Parse/AttributeList.cpp
+++ b/lib/Parse/AttributeList.cpp
@@ -129,6 +129,7 @@ AttributeList::Kind AttributeList::getKind(const IdentifierInfo *Name) {
break;
case 15:
if (!memcmp(Str, "ext_vector_type", 15)) return AT_ext_vector_type;
+ if (!memcmp(Str, "ns_autoreleases", 15)) return AT_ns_autoreleases;
break;
case 16:
if (!memcmp(Str, "ns_returns_owned", 16)) return AT_ns_returns_owned;