diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-08-03 08:39:58 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-08-03 08:39:58 +0000 |
commit | f3fce80bb2eafaa556779c84f38104003bddb0ea (patch) | |
tree | 54e641fc396a8b008f71ecb636dd9cf9a8feb939 /lib/StaticAnalyzer/Core/ProgramState.cpp | |
parent | a5c12b9429a51dac935f071c0d7e59e3de338819 (diff) |
Fix failed to generate vtables in certain cases.
By C++ standard, the vtable should be generated if the first non-inline
virtual function is defined in the TU. Current version of clang doesn't
generate vtable if the first virtual function is defaulted, because the
key function is regarded as the defaulted function.
Patch by Li Kan!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161236 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/ProgramState.cpp')
0 files changed, 0 insertions, 0 deletions