diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-04-05 20:45:04 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-04-05 20:45:04 +0000 |
commit | 2707ee3256a654e8d40bd9082e6047c65a5e3283 (patch) | |
tree | a257f62d4c2218352d645eefc0746d45e19f3e48 /unittests/Support/TimerTest.cpp | |
parent | f45d3278d3dbc6fdff47a57213c9267d72289f17 (diff) |
Revert "Fix Clang-tidy modernize-deprecated-headers warnings in remaining files; other minor fixes."
This reverts commit r265454 since it broke the build. E.g.:
http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-incremental_build/22413/
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265459 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Support/TimerTest.cpp')
-rw-r--r-- | unittests/Support/TimerTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/Support/TimerTest.cpp b/unittests/Support/TimerTest.cpp index 8f05b3534765..f556a3f72c62 100644 --- a/unittests/Support/TimerTest.cpp +++ b/unittests/Support/TimerTest.cpp @@ -13,7 +13,7 @@ #if LLVM_ON_WIN32 #include <windows.h> #else -#include <ctime> +#include <time.h> #endif using namespace llvm; @@ -62,4 +62,4 @@ TEST(Timer, CheckIfTriggered) { EXPECT_FALSE(T1.hasTriggered()); } -} // end anonymous namespace +} // end anon namespace |