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
This commit is contained in:
Eugene Zelenko
2016-04-05 20:19:49 +00:00
parent f2fdd013a2
commit 1760dc2a23
30 changed files with 523 additions and 323 deletions

View File

@@ -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