]> granicus.if.org Git - clang/commit
Add new checker-specific attribute 'objc_ownership_retain'. This isn't hooked up
authorTed Kremenek <kremenek@apple.com>
Sat, 25 Apr 2009 00:17:17 +0000 (00:17 +0000)
committerTed Kremenek <kremenek@apple.com>
Sat, 25 Apr 2009 00:17:17 +0000 (00:17 +0000)
commitde9a81b92e9098daa8ca19df138e4807b4d8afe8
tree44a81835e966ef6e2f3aa6f1a89fe85378a94ee0
parentb5f1562d7b57a3dbe27a39b45995f59862973820
Add new checker-specific attribute 'objc_ownership_retain'. 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 increments the reference count of a passed
object.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70005 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Attr.h
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Parse/AttributeList.h
lib/Frontend/PCHReader.cpp
lib/Frontend/PCHWriter.cpp
lib/Parse/AttributeList.cpp
lib/Sema/SemaDeclAttr.cpp
test/Analysis/retain-release.m