diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-04-30 18:41:06 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-04-30 18:41:06 +0000 |
commit | 290fbb1d42c9e50e94aecf72e40030b6b85b5786 (patch) | |
tree | c5530eac072161d89861fe46b942d62dd0efd464 /clang/lib/Analysis/CFRefCount.cpp | |
parent | 007cbe91c58442ca7032eb006a68560c306c1028 (diff) | |
download | bcm5719-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