From 1760dc2a232bde2175606ba737938d3032f1e49d Mon Sep 17 00:00:00 2001 From: Eugene Zelenko Date: Tue, 5 Apr 2016 20:19:49 +0000 Subject: 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 llvm-svn: 265454 --- llvm/unittests/Support/TimeValueTest.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'llvm/unittests/Support/TimeValueTest.cpp') diff --git a/llvm/unittests/Support/TimeValueTest.cpp b/llvm/unittests/Support/TimeValueTest.cpp index 3d2b9780c06..59af5c3044d 100644 --- a/llvm/unittests/Support/TimeValueTest.cpp +++ b/llvm/unittests/Support/TimeValueTest.cpp @@ -9,9 +9,12 @@ #include "gtest/gtest.h" #include "llvm/Support/TimeValue.h" -#include +#include +#include +#include using namespace llvm; + namespace { TEST(TimeValue, time_t) { @@ -37,4 +40,4 @@ TEST(TimeValue, Win32FILETIME) { EXPECT_EQ(ft1970, epoch.toWin32Time()); } -} +} // end anonymous namespace -- cgit v1.2.3