]> granicus.if.org Git - clang/commit
A vtable is used if the key function is defined... even if that key
authorDouglas Gregor <dgregor@apple.com>
Fri, 14 May 2010 04:08:48 +0000 (04:08 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 14 May 2010 04:08:48 +0000 (04:08 +0000)
commitca4aa379fcae53c50760cdf3632d8d801b795046
treef90d8815a66096f0335522fcd6fce0bf92dc206c
parentecb2df2408639e554def61080ce3afdb41e2f705
A vtable is used if the key function is defined... even if that key
function's definition is an out-of-class definition marked
"inline". Fixes an assertion in WebKit.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103763 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclCXX.cpp
test/CodeGenCXX/key-function-vtable.cpp