Index: lld/ELF/Driver.cpp =================================================================== --- lld/ELF/Driver.cpp +++ lld/ELF/Driver.cpp @@ -56,7 +56,6 @@ #include "llvm/Support/TargetSelect.h" #include "llvm/Support/raw_ostream.h" #include -#include using namespace llvm; using namespace llvm::ELF; Index: lld/ELF/InputSection.cpp =================================================================== --- lld/ELF/InputSection.cpp +++ lld/ELF/InputSection.cpp @@ -26,7 +26,6 @@ #include "llvm/Support/Endian.h" #include "llvm/Support/Threading.h" #include "llvm/Support/xxhash.h" -#include using namespace llvm; using namespace llvm::ELF; Index: lld/ELF/LTO.cpp =================================================================== --- lld/ELF/LTO.cpp +++ lld/ELF/LTO.cpp @@ -30,12 +30,6 @@ #include "llvm/Support/FileSystem.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/raw_ostream.h" -#include -#include -#include -#include -#include -#include using namespace llvm; using namespace llvm::object; Index: lld/ELF/LinkerScript.cpp =================================================================== --- lld/ELF/LinkerScript.cpp +++ lld/ELF/LinkerScript.cpp @@ -31,13 +31,6 @@ #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/FileSystem.h" #include "llvm/Support/Path.h" -#include -#include -#include -#include -#include -#include -#include #include using namespace llvm; Index: lld/ELF/MarkLive.cpp =================================================================== --- lld/ELF/MarkLive.cpp +++ lld/ELF/MarkLive.cpp @@ -32,7 +32,6 @@ #include "llvm/ADT/STLExtras.h" #include "llvm/Object/ELF.h" #include -#include using namespace llvm; using namespace llvm::ELF; Index: lld/ELF/ScriptParser.cpp =================================================================== --- lld/ELF/ScriptParser.cpp +++ lld/ELF/ScriptParser.cpp @@ -33,7 +33,6 @@ #include "llvm/Support/Path.h" #include #include -#include using namespace llvm; using namespace llvm::ELF; Index: lld/ELF/Thunks.cpp =================================================================== --- lld/ELF/Thunks.cpp +++ lld/ELF/Thunks.cpp @@ -36,7 +36,6 @@ #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/MathExtras.h" #include -#include using namespace llvm; using namespace llvm::object;