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

@@ -3045,6 +3045,7 @@ Attr *PCHReader::ReadAttributes() {
SIMPLE_ATTR(ObjCException);
SIMPLE_ATTR(ObjCNSObject);
SIMPLE_ATTR(ObjCOwnershipReturns);
SIMPLE_ATTR(Overloadable);
UNSIGNED_ATTR(Packed);
SIMPLE_ATTR(Pure);