summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/cxx11-vtable-key-function.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Flesh out test for defaulted key functions a bit more.Benjamin Kramer2012-08-031-3/+30
| | | | llvm-svn: 161243
* Fix failed to generate vtables in certain cases.Benjamin Kramer2012-08-031-0/+11
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! llvm-svn: 161236
OpenPOWER on IntegriCloud