summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities/time
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-06-14 21:31:42 +0000
committerEric Fiselier <eric@efcs.ca>2016-06-14 21:31:42 +0000
commitf2f2a6395fad5bd49a573fdf2b20072735d496f7 (patch)
tree9e17e483fe805be6d7940b2b653063df88815347 /libcxx/test/std/utilities/time
parent23b6d6adc9dd38fe6c2cb433e163dc74b2cdc8e6 (diff)
downloadbcm5719-llvm-f2f2a6395fad5bd49a573fdf2b20072735d496f7.tar.gz
bcm5719-llvm-f2f2a6395fad5bd49a573fdf2b20072735d496f7.zip
Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER.
This is a huge cleanup that helps make the libc++ test suite more portable. Patch from STL@microsoft.com. Thanks STL! llvm-svn: 272716
Diffstat (limited to 'libcxx/test/std/utilities/time')
-rw-r--r--libcxx/test/std/utilities/time/time.traits/time.traits.is_fp/treat_as_floating_point.pass.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/test/std/utilities/time/time.traits/time.traits.is_fp/treat_as_floating_point.pass.cpp b/libcxx/test/std/utilities/time/time.traits/time.traits.is_fp/treat_as_floating_point.pass.cpp
index f9ddc87a7a1..5c403a6d5af 100644
--- a/libcxx/test/std/utilities/time/time.traits/time.traits.is_fp/treat_as_floating_point.pass.cpp
+++ b/libcxx/test/std/utilities/time/time.traits/time.traits.is_fp/treat_as_floating_point.pass.cpp
@@ -14,6 +14,8 @@
#include <chrono>
#include <type_traits>
+#include "test_macros.h"
+
template <class T>
void
test()
OpenPOWER on IntegriCloud