diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-04-24 23:09:54 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-04-24 23:09:54 +0000 |
commit | 0fc169e864aef7fc9a782e60b222a360f406704a (patch) | |
tree | 2f07a9817adc0499e7644cd8223ed63d8ca6ec6e /lib/Frontend/PCHWriter.cpp | |
parent | 02bbfa33590dfe3107e801fb526b7ab0bdfd00ee (diff) |
Add new checker-specific attribute 'objc_ownership_returns'. This isn't hooked
up to the checker yet, but essentially it allows a user to specify that an
Objective-C method or C function returns an owned an Objective-C object.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70001 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHWriter.cpp')
-rw-r--r-- | lib/Frontend/PCHWriter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Frontend/PCHWriter.cpp b/lib/Frontend/PCHWriter.cpp index 782244c60e..4d2f4092ef 100644 --- a/lib/Frontend/PCHWriter.cpp +++ b/lib/Frontend/PCHWriter.cpp @@ -2181,6 +2181,7 @@ void PCHWriter::WriteAttributeRecord(const Attr *Attr) { case Attr::ObjCException: case Attr::ObjCNSObject: + case Attr::ObjCOwnershipReturns: case Attr::Overloadable: break; |