diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-05-05 00:46:09 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-05-05 00:46:09 +0000 |
commit | e351aa10dab6eb8b9b502166c7035dc7b0e723e0 (patch) | |
tree | 3d7ef14bcfb75260c8cee6b58b272d062c986897 /lib/Parse/AttributeList.cpp | |
parent | a81419d0b53a40399a589a2fcc13f1ed2ec28f75 (diff) |
Implement attribute 'cf_returns_owned' (mirrors 'ns_returns_owned').
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70952 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/AttributeList.cpp')
-rw-r--r-- | lib/Parse/AttributeList.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Parse/AttributeList.cpp b/lib/Parse/AttributeList.cpp index 1cc9a51ec6..933e9f2b09 100644 --- a/lib/Parse/AttributeList.cpp +++ b/lib/Parse/AttributeList.cpp @@ -132,6 +132,7 @@ AttributeList::Kind AttributeList::getKind(const IdentifierInfo *Name) { break; case 16: if (!memcmp(Str, "ns_returns_owned", 16)) return AT_ns_returns_owned; + if (!memcmp(Str, "cf_returns_owned", 16)) return AT_cf_returns_owned; break; case 17: if (!memcmp(Str, "transparent_union", 17)) return AT_transparent_union; |