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.

llvm-svn: 70001
This commit is contained in:
Ted Kremenek
2009-04-24 23:09:54 +00:00
parent defc644e06
commit 44e662cd4f
7 changed files with 57 additions and 1 deletions

View File

@@ -2181,6 +2181,7 @@ void PCHWriter::WriteAttributeRecord(const Attr *Attr) {
case Attr::ObjCException:
case Attr::ObjCNSObject:
case Attr::ObjCOwnershipReturns:
case Attr::Overloadable:
break;