diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-05-04 17:29:57 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-05-04 17:29:57 +0000 |
commit | 31c215e62031b14e85c2f695c261817c044b465b (patch) | |
tree | 71cb48591e69abe2d5fb1b6d09c6af61012c1367 /lib/Frontend/PCHWriter.cpp | |
parent | 1308f573d7a9840713879deb3c02b219197cd827 (diff) |
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
Diffstat (limited to 'lib/Frontend/PCHWriter.cpp')
-rw-r--r-- | lib/Frontend/PCHWriter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Frontend/PCHWriter.cpp b/lib/Frontend/PCHWriter.cpp index 2db93c3bb9..2bec9d4239 100644 --- a/lib/Frontend/PCHWriter.cpp +++ b/lib/Frontend/PCHWriter.cpp @@ -1549,8 +1549,8 @@ void PCHWriter::WriteAttributeRecord(const Attr *Attr) { 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: |