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 | 6ec9c3cbc1b598aabf6debbfcae5f9fe5dab53ec (patch) | |
tree | ebf9f2c1817deb7e34ea960ad7e429cf7a59cd95 /clang/lib/Sema/SemaDecl.cpp | |
parent | 11d1959ff21b47373696bfa9a574eb64b5545507 (diff) | |
download | bcm5719-llvm-6ec9c3cbc1b598aabf6debbfcae5f9fe5dab53ec.tar.gz bcm5719-llvm-6ec9c3cbc1b598aabf6debbfcae5f9fe5dab53ec.zip |
[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.
llvm-svn: 167780
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions