summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/AttributeList.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-05-04 23:52:59 +0000
committerTed Kremenek <kremenek@apple.com>2009-05-04 23:52:59 +0000
commitbbec22d2b26450b773dc6bdf81741629d7394a6c (patch)
treef2ab9c2e2fdc9840319b50b9d26a5d8324f7e2c8 /clang/lib/Parse/AttributeList.cpp
parent6bdfcf47adc88f6f7f4dd908fd5bb62b79a2e6a8 (diff)
downloadbcm5719-llvm-bbec22d2b26450b773dc6bdf81741629d7394a6c.tar.gz
bcm5719-llvm-bbec22d2b26450b773dc6bdf81741629d7394a6c.zip
Rename attribute 'ns_ownership_returns' to 'ns_returns_ownership'.
llvm-svn: 70941
Diffstat (limited to 'clang/lib/Parse/AttributeList.cpp')
-rw-r--r--clang/lib/Parse/AttributeList.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Parse/AttributeList.cpp b/clang/lib/Parse/AttributeList.cpp
index 704d98a07e8..d989d1de6ef 100644
--- a/clang/lib/Parse/AttributeList.cpp
+++ b/clang/lib/Parse/AttributeList.cpp
@@ -144,8 +144,8 @@ AttributeList::Kind AttributeList::getKind(const IdentifierInfo *Name) {
return AT_cf_ownership_release;
if (!memcmp(Str, "ns_ownership_release", 20))
return AT_ns_ownership_release;
- if (!memcmp(Str, "ns_ownership_returns", 20))
- return AT_ns_ownership_returns;
+ if (!memcmp(Str, "ns_returns_ownership", 20))
+ return AT_ns_returns_ownership;
break;
case 22:
if (!memcmp(Str, "no_instrument_function", 22))
OpenPOWER on IntegriCloud