]> granicus.if.org Git - clang/commit
C++11 test cleanup: nonthrowing destructors
authorPaul Robinson <paul.robinson@sony.com>
Tue, 20 Dec 2016 22:26:11 +0000 (22:26 +0000)
committerPaul Robinson <paul.robinson@sony.com>
Tue, 20 Dec 2016 22:26:11 +0000 (22:26 +0000)
commitc00ee55cc8dd26291d4a87ff5b30471026417bc5
tree7d658e0fc20ed14870e2cbd387c8737aa2a83411
parent768efe7b26a100e77ff5e809609d5a373c113076
C++11 test cleanup: nonthrowing destructors

If a dtor has no interesting members, then it ends up being nothrow,
which affects the generated IR. Modify some tests to tolerate this
difference between C++03 and C++11.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290207 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGenCXX/destructors.cpp
test/CodeGenCXX/nrvo.cpp
test/CodeGenCXX/partial-destruction.cpp