[libcxx] Get is_*_destructible tests passing in C++03.
authorEric Fiselier <eric@efcs.ca>
Sat, 18 Jul 2015 16:43:58 +0000 (16:43 +0000)
committerEric Fiselier <eric@efcs.ca>
Sat, 18 Jul 2015 16:43:58 +0000 (16:43 +0000)
commit083abfb3f6453e012d180d6f9df4bd1483364e09
tree01f3451584ba3166f0fc9f88afbbff0414381f9a
parent352f0df46d06ab33dfc8ac037e5adaf2ab78e801
[libcxx] Get is_*_destructible tests passing in C++03.

Summary: This patch adds proper guards to the is_destructible tests depending on the standard version so that they pass in c++03.

Reviewers: mclow.lists, EricWF

Subscribers: cfe-commits

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

llvm-svn: 242612
libcxx/include/type_traits
libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_destructible.pass.cpp
libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_destructible.pass.cpp
libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_destructible.pass.cpp