Rename attributes:
'objc_ownership_cfretain' -> 'cf_ownership_retain'
'objc_ownership_cfrelease' -> 'cf_ownership_release'

Motivation: Core Foundation objects can be used in isolation from Objective-C,
and this forces users to reason about the separate semantics of CF objects. More
Sema support pending.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70884 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Frontend/PCHReaderDecl.cpp b/lib/Frontend/PCHReaderDecl.cpp
index 22699e5..29da2ab 100644
--- a/lib/Frontend/PCHReaderDecl.cpp
+++ b/lib/Frontend/PCHReaderDecl.cpp
@@ -475,8 +475,8 @@
 
     SIMPLE_ATTR(ObjCException);
     SIMPLE_ATTR(ObjCNSObject);
-    SIMPLE_ATTR(ObjCOwnershipCFRelease);
-    SIMPLE_ATTR(ObjCOwnershipCFRetain);
+    SIMPLE_ATTR(CFOwnershipRelease);
+    SIMPLE_ATTR(CFOwnershipRetain);
     SIMPLE_ATTR(ObjCOwnershipMakeCollectable);
     SIMPLE_ATTR(ObjCOwnershipRelease);
     SIMPLE_ATTR(ObjCOwnershipRetain);
diff --git a/lib/Frontend/PCHWriter.cpp b/lib/Frontend/PCHWriter.cpp
index 2db93c3..2bec9d4 100644
--- a/lib/Frontend/PCHWriter.cpp
+++ b/lib/Frontend/PCHWriter.cpp
@@ -1549,8 +1549,8 @@
 
     case Attr::ObjCException:
     case Attr::ObjCNSObject:
-    case Attr::ObjCOwnershipCFRelease:
-    case Attr::ObjCOwnershipCFRetain:
+    case Attr::CFOwnershipRelease:
+    case Attr::CFOwnershipRetain:
     case Attr::ObjCOwnershipMakeCollectable:
     case Attr::ObjCOwnershipRelease:
     case Attr::ObjCOwnershipRetain: