fix the property list metadata name.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150728 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Rewrite/RewriteModernObjC.cpp b/lib/Rewrite/RewriteModernObjC.cpp
index 4c4f32b..8f45290 100644
--- a/lib/Rewrite/RewriteModernObjC.cpp
+++ b/lib/Rewrite/RewriteModernObjC.cpp
@@ -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());