]> granicus.if.org Git - clang/commit
Make two vtable tests tolerate C++11.
authorPaul Robinson <paul.robinson@sony.com>
Tue, 20 Dec 2016 22:22:24 +0000 (22:22 +0000)
committerPaul Robinson <paul.robinson@sony.com>
Tue, 20 Dec 2016 22:22:24 +0000 (22:22 +0000)
commit768efe7b26a100e77ff5e809609d5a373c113076
tree5bb6a1c15530b5bd7db6e797170d39df83c4daa7
parentc8c1a1961a459f5f79ba8dfb08a2d53d5443bf32
Make two vtable tests tolerate C++11.

In C++11 we don't emit vtables as eagerly as we do for C++03, so
fiddle the tests to emit them when the test expects them.

Differential Revision: http://reviews.llvm.org/D27994

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290205 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGenCXX/vtable-layout.cpp
test/CodeGenCXX/vtable-linkage.cpp