From bbec22d2b26450b773dc6bdf81741629d7394a6c Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Mon, 4 May 2009 23:52:59 +0000 Subject: Rename attribute 'ns_ownership_returns' to 'ns_returns_ownership'. llvm-svn: 70941 --- clang/lib/Parse/AttributeList.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/lib/Parse/AttributeList.cpp') 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)) -- cgit v1.2.3