[cfe-commits] r71311 - /cfe/trunk/lib/Parse/AttributeList.cpp

Ted Kremenek kremenek at apple.com
Fri May 8 20:08:29 PDT 2009


Author: kremenek
Date: Fri May  8 22:08:29 2009
New Revision: 71311

URL: http://llvm.org/viewvc/llvm-project?rev=71311&view=rev
Log:
Add back attribute string lookup for 'ns_returns_retained' and
'cf_returns_retained'.

Modified:
    cfe/trunk/lib/Parse/AttributeList.cpp

Modified: cfe/trunk/lib/Parse/AttributeList.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/AttributeList.cpp?rev=71311&r1=71310&r2=71311&view=diff

==============================================================================
--- cfe/trunk/lib/Parse/AttributeList.cpp (original)
+++ cfe/trunk/lib/Parse/AttributeList.cpp Fri May  8 22:08:29 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 cfe-commits mailing list