diff options
author | Anna Zaks <ganna@apple.com> | 2012-11-12 23:40:29 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2012-11-12 23:40:29 +0000 |
commit | d51db4935736fd943bfd46dfa74d41e9a3c2d41f (patch) | |
tree | 928fcb55fa1083e7b035c7cd63dac668f5cb0e0e /lib/Sema/SemaOverload.cpp | |
parent | e7ce7094602ebb341220467c9a1d6643f45b9595 (diff) |
[analyzer] Follow up to r167762 - precisely determine the adjustment
conditions.
The adjustment is needed only in case of dynamic dispatch performed by
the analyzer - when the runtime declaration is different from the static
one.
Document this explicitly in the code (by adding a helper). Also, use
canonical Decls to avoid matching against the case where the definition
is different from found declaration.
This fix suppresses the testcase I added in r167762, so add another
testcase to make sure we do test commit r167762.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167780 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaOverload.cpp')
0 files changed, 0 insertions, 0 deletions