[cfe-commits] r150728 - /cfe/trunk/lib/Rewrite/RewriteModernObjC.cpp

Fariborz Jahanian fjahanian at apple.com
Thu Feb 16 13:58:00 PST 2012


Author: fjahanian
Date: Thu Feb 16 15:57:59 2012
New Revision: 150728

URL: http://llvm.org/viewvc/llvm-project?rev=150728&view=rev
Log:
fix the property list metadata name.

Modified:
    cfe/trunk/lib/Rewrite/RewriteModernObjC.cpp

Modified: cfe/trunk/lib/Rewrite/RewriteModernObjC.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Rewrite/RewriteModernObjC.cpp?rev=150728&r1=150727&r2=150728&view=diff
==============================================================================
--- cfe/trunk/lib/Rewrite/RewriteModernObjC.cpp (original)
+++ cfe/trunk/lib/Rewrite/RewriteModernObjC.cpp Thu Feb 16 15:57:59 2012
@@ -5528,7 +5528,7 @@
   Result += "0, \n\t";
   if (!metaclass && Properties.size() > 0) {
     Result += "(const struct _prop_list_t *)&";
-    Result += "_OBJC_CLASS_PROPERTIES_$_"; Result += ClassName;
+    Result += "_OBJC_$_PROP_LIST_"; Result += ClassName;
     Result += ",\n";
   }
   else
@@ -6006,7 +6006,7 @@
   
   Write_prop_list_t_initializer(*this, Context, Result, ClassProperties,
                                  /* Container */0,
-                                 "_OBJC_CLASS_PROPERTIES_$_",
+                                 "_OBJC_$_PROP_LIST_",
                                  CDecl->getNameAsString());
 
   





More information about the cfe-commits mailing list