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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user