summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/CFRefCount.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-04-30 18:41:06 +0000
committerTed Kremenek <kremenek@apple.com>2009-04-30 18:41:06 +0000
commit290fbb1d42c9e50e94aecf72e40030b6b85b5786 (patch)
treec5530eac072161d89861fe46b942d62dd0efd464 /clang/lib/Analysis/CFRefCount.cpp
parent007cbe91c58442ca7032eb006a68560c306c1028 (diff)
downloadbcm5719-llvm-290fbb1d42c9e50e94aecf72e40030b6b85b5786.tar.gz
bcm5719-llvm-290fbb1d42c9e50e94aecf72e40030b6b85b5786.zip
Hook up Sema support for attributes on Objective-C method declarations that
appear between the return type and the selector. This is a separate code path from regular attribute processing, as we only want to (a) accept only a specific set of attributes in this place and (b) want to distinguish to clients the context in which an attribute was added to an ObjCMethodDecl. Currently, the attribute 'objc_ownership_returns' is the only attribute that uses this new feature. Shortly I will add a warning for 'objc_ownership_returns' to be placed at the end of a method declaration. llvm-svn: 70504
Diffstat (limited to 'clang/lib/Analysis/CFRefCount.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud