summaryrefslogtreecommitdiffstats
path: root/unittests/Support/TimerTest.cpp
diff options
context:
space:
mode:
authorEugene Zelenko <eugene.zelenko@gmail.com>2016-04-05 20:19:49 +0000
committerEugene Zelenko <eugene.zelenko@gmail.com>2016-04-05 20:19:49 +0000
commit9a7a3bcf2955decb12cd642133eaa594f3cd121d (patch)
tree78315f78bc0109a6778d35838e0482c165cac9bd /unittests/Support/TimerTest.cpp
parentfe34a372e1ab527f3102ec0521005a35eecdd229 (diff)
Fix Clang-tidy modernize-deprecated-headers warnings in remaining files; other minor fixes.
Some Include What You Use suggestions were used too. Use anonymous namespaces in source files. Differential revision: http://reviews.llvm.org/D18778 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265454 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Support/TimerTest.cpp')
-rw-r--r--unittests/Support/TimerTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/Support/TimerTest.cpp b/unittests/Support/TimerTest.cpp
index f556a3f72c62..8f05b3534765 100644
--- a/unittests/Support/TimerTest.cpp
+++ b/unittests/Support/TimerTest.cpp
@@ -13,7 +13,7 @@
#if LLVM_ON_WIN32
#include <windows.h>
#else
-#include <time.h>
+#include <ctime>
#endif
using namespace llvm;
@@ -62,4 +62,4 @@ TEST(Timer, CheckIfTriggered) {
EXPECT_FALSE(T1.hasTriggered());
}
-} // end anon namespace
+} // end anonymous namespace