diff options
author | Pavel Labath <labath@google.com> | 2016-10-19 17:17:53 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2016-10-19 17:17:53 +0000 |
commit | 504f3844aec477f31d9640b90dfd5b0e2a773d7e (patch) | |
tree | 67420d0c65a7e45fcfcca134ac12a0c39108eb6d /llvm/unittests/Support/TimeValueTest.cpp | |
parent | bc94693042f04894f634e83618d3156dabf26cc5 (diff) | |
download | bcm5719-llvm-504f3844aec477f31d9640b90dfd5b0e2a773d7e.tar.gz bcm5719-llvm-504f3844aec477f31d9640b90dfd5b0e2a773d7e.zip |
Revert "Add Chrono.h - std::chrono support header"
This reverts commit r284590 as it fails on the mingw buildbot. I think I know the
fix, but I cannot test it right now. Will reapply when I verify it works ok.
This reverts r284590.
llvm-svn: 284615
Diffstat (limited to 'llvm/unittests/Support/TimeValueTest.cpp')
-rw-r--r-- | llvm/unittests/Support/TimeValueTest.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/unittests/Support/TimeValueTest.cpp b/llvm/unittests/Support/TimeValueTest.cpp index 9e8690f57bc..3d2b9780c06 100644 --- a/llvm/unittests/Support/TimeValueTest.cpp +++ b/llvm/unittests/Support/TimeValueTest.cpp @@ -37,14 +37,4 @@ TEST(TimeValue, Win32FILETIME) { EXPECT_EQ(ft1970, epoch.toWin32Time()); } -TEST(TimeValue, Chrono) { - sys::TimeValue TV; - TV.fromEpochTime(0); - sys::TimePoint<> TP = TV; - EXPECT_EQ(0u, sys::toTimeT(TP)); - - TP += std::chrono::seconds(47); - TV = TP; - EXPECT_EQ(47u, TV.toEpochTime()); -} } |