diff options
author | John McCall <rjmccall@apple.com> | 2011-07-22 02:45:48 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-07-22 02:45:48 +0000 |
commit | 6c2c250db1e2d0138bbfaadbbec3118db7e8a8c9 (patch) | |
tree | a67ea5cf0a0af1a46b95c3b6166de4613a64b23a /lib/CodeGen/CodeGenFunction.h | |
parent | db8264e4c5ffd7af6fbad4ca4306bd382bb02691 (diff) |
In Objective-C, pull arbitrary attributes from overridden
methods, including indirectly overridden methods like those
declared in protocols and categories. There are mismatches
that we would like to diagnose but aren't yet, but this
is fine for now.
I looked at approaches that avoided doing this lookup
unless we needed it, but the infer-related-result-type
checks were doing it anyway, so I left it with the same
fast-path check for no previous declartions of that
selector.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135743 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions