summaryrefslogtreecommitdiffstats
path: root/libcxx/test/support/test_allocator.h
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2015-06-03 19:56:43 +0000
committerMarshall Clow <mclow.lists@gmail.com>2015-06-03 19:56:43 +0000
commitcbf166a2b928e3e037fba2b1f1bb64e5b6e4c26c (patch)
tree03b1b5c57bbbb823c5bd61dc74ca08dfb70f458c /libcxx/test/support/test_allocator.h
parent7ae27b88dd5f47ef50afd911da67fa0c14cbfdc7 (diff)
downloadbcm5719-llvm-cbf166a2b928e3e037fba2b1f1bb64e5b6e4c26c.tar.gz
bcm5719-llvm-cbf166a2b928e3e037fba2b1f1bb64e5b6e4c26c.zip
More of N4258 implementation. Mark all of our test_allocators as noexcept constructible. Make the constructors for basic_string noexcept all the time (under C++14). Update tests to reflect the new world order. More to come.
llvm-svn: 238957
Diffstat (limited to 'libcxx/test/support/test_allocator.h')
-rw-r--r--libcxx/test/support/test_allocator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/test/support/test_allocator.h b/libcxx/test/support/test_allocator.h
index 683fac239f2..03bd3905606 100644
--- a/libcxx/test/support/test_allocator.h
+++ b/libcxx/test/support/test_allocator.h
@@ -17,6 +17,8 @@
#include <climits>
#include <cassert>
+#include "test_macros.h"
+
class test_alloc_base
{
protected:
OpenPOWER on IntegriCloud