[llvm-branch-commits] [cfe-branch] r71320 - /cfe/branches/Apple/Dib/lib/Parse/AttributeList.cpp
Mike Stump
mrs at apple.com
Fri May 8 20:38:02 PDT 2009
Author: mrs
Date: Fri May 8 22:38:02 2009
New Revision: 71320
URL: http://llvm.org/viewvc/llvm-project?rev=71320&view=rev
Log:
Merge in 71311:
Add back attribute string lookup for 'ns_returns_retained' and
'cf_returns_retained'.
Modified:
cfe/branches/Apple/Dib/lib/Parse/AttributeList.cpp
Modified: cfe/branches/Apple/Dib/lib/Parse/AttributeList.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/Dib/lib/Parse/AttributeList.cpp?rev=71320&r1=71319&r2=71320&view=diff
==============================================================================
--- cfe/branches/Apple/Dib/lib/Parse/AttributeList.cpp (original)
+++ cfe/branches/Apple/Dib/lib/Parse/AttributeList.cpp Fri May 8 22:38:02 2009
@@ -133,6 +133,10 @@
case 18:
if (!memcmp(Str, "warn_unused_result", 18)) return AT_warn_unused_result;
break;
+ case 19:
+ if (!memcmp(Str, "ns_returns_retained", 19)) return AT_ns_returns_retained;
+ if (!memcmp(Str, "cf_returns_retained", 19)) return AT_cf_returns_retained;
+ break;
case 22:
if (!memcmp(Str, "no_instrument_function", 22))
return AT_no_instrument_function;
More information about the llvm-branch-commits
mailing list