summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PCHWriter.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-04-27 18:27:22 +0000
committerTed Kremenek <kremenek@apple.com>2009-04-27 18:27:22 +0000
commitebbef7d0d3bfc4e881c401b5365aca64e1f3b587 (patch)
tree333542c6abde3becc128548f9f0d32d8ba92bfd8 /clang/lib/Frontend/PCHWriter.cpp
parent21b349d5eaf0921426a6ef977d6a3eab52d06c3f (diff)
downloadbcm5719-llvm-ebbef7d0d3bfc4e881c401b5365aca64e1f3b587.tar.gz
bcm5719-llvm-ebbef7d0d3bfc4e881c401b5365aca64e1f3b587.zip
Add new checker-specific attribute 'objc_ownership_cfretain'. This is the same
as 'objc_ownership_cfretain' except that the method acts like a CFRetain instead of a [... retain] (important in GC modes). Checker support is wired up, but currently only for Objective-C message expressions (not function calls). llvm-svn: 70218
Diffstat (limited to 'clang/lib/Frontend/PCHWriter.cpp')
-rw-r--r--clang/lib/Frontend/PCHWriter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/PCHWriter.cpp b/clang/lib/Frontend/PCHWriter.cpp
index 82eb5dffe43..391a1f91659 100644
--- a/clang/lib/Frontend/PCHWriter.cpp
+++ b/clang/lib/Frontend/PCHWriter.cpp
@@ -1420,6 +1420,7 @@ void PCHWriter::WriteAttributeRecord(const Attr *Attr) {
case Attr::ObjCException:
case Attr::ObjCNSObject:
+ case Attr::ObjCOwnershipCFRetain:
case Attr::ObjCOwnershipRetain:
case Attr::ObjCOwnershipReturns:
case Attr::Overloadable:
OpenPOWER on IntegriCloud