forked from OSchip/llvm-project
Consistent (non) use of empty lines in include blocks
The profailing style in lld seem to be to not include such empty lines. Clang-tidy/clang-format seem to handle this just fine. Differential Revision: https://reviews.llvm.org/D43528 llvm-svn: 325629
This commit is contained in:
parent
7365b44b85
commit
3141ddc58d
|
@ -18,8 +18,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "Chunks.h"
|
||||
#include "DLL.h"
|
||||
#include "Chunks.h"
|
||||
#include "llvm/Object/COFF.h"
|
||||
#include "llvm/Support/Endian.h"
|
||||
#include "llvm/Support/Path.h"
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#include "llvm/ToolDrivers/llvm-lib/LibDriver.h"
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
|
||||
#include <future>
|
||||
|
||||
using namespace llvm;
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include "SymbolTable.h"
|
||||
#include "Symbols.h"
|
||||
#include "Writer.h"
|
||||
|
||||
#include "lld/Common/ErrorHandler.h"
|
||||
#include "llvm/Support/Parallel.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
#include "SyntheticSections.h"
|
||||
#include "Target.h"
|
||||
#include "lld/Common/Memory.h"
|
||||
|
||||
#include "llvm/Support/Endian.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include <algorithm>
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#define LLD_ELF_AARCH64ERRATAFIX_H
|
||||
|
||||
#include "lld/Common/LLVM.h"
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#include "llvm/Support/CachePruning.h"
|
||||
#include "llvm/Support/CodeGen.h"
|
||||
#include "llvm/Support/Endian.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
namespace lld {
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include "InputSection.h"
|
||||
#include "Relocations.h"
|
||||
#include "Strings.h"
|
||||
|
||||
#include "lld/Common/ErrorHandler.h"
|
||||
#include "llvm/BinaryFormat/Dwarf.h"
|
||||
#include "llvm/Object/ELF.h"
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
|
||||
#include "Config.h"
|
||||
#include "lld/Common/ErrorHandler.h"
|
||||
|
||||
#include "lld/Common/LLVM.h"
|
||||
#include "lld/Common/Reproduce.h"
|
||||
#include "llvm/ADT/CachedHashString.h"
|
||||
|
@ -23,7 +22,6 @@
|
|||
#include "llvm/Object/ELF.h"
|
||||
#include "llvm/Object/IRObjectFile.h"
|
||||
#include "llvm/Support/Threading.h"
|
||||
|
||||
#include <map>
|
||||
|
||||
namespace llvm {
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include "InputSection.h"
|
||||
#include "LinkerScript.h"
|
||||
#include "Relocations.h"
|
||||
|
||||
#include "lld/Common/LLVM.h"
|
||||
#include "llvm/MC/StringTableBuilder.h"
|
||||
#include "llvm/Object/ELF.h"
|
||||
|
|
|
@ -52,7 +52,6 @@
|
|||
#include "Target.h"
|
||||
#include "Thunks.h"
|
||||
#include "lld/Common/Memory.h"
|
||||
|
||||
#include "llvm/Support/Endian.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include <algorithm>
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include "SyntheticSections.h"
|
||||
#include "Target.h"
|
||||
#include "Writer.h"
|
||||
|
||||
#include "lld/Common/ErrorHandler.h"
|
||||
#include "lld/Common/Strings.h"
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
|
||||
#include "InputSection.h"
|
||||
#include "Strings.h"
|
||||
|
||||
#include "lld/Common/LLVM.h"
|
||||
#include "llvm/Object/Archive.h"
|
||||
#include "llvm/Object/ELF.h"
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "InputFiles.h"
|
||||
|
||||
#include "Config.h"
|
||||
#include "InputChunks.h"
|
||||
#include "SymbolTable.h"
|
||||
|
|
|
@ -10,15 +10,13 @@
|
|||
#ifndef LLD_WASM_INPUT_FILES_H
|
||||
#define LLD_WASM_INPUT_FILES_H
|
||||
|
||||
#include "Symbols.h"
|
||||
#include "lld/Common/LLVM.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/ADT/DenseSet.h"
|
||||
#include "llvm/Object/Archive.h"
|
||||
#include "llvm/Object/Wasm.h"
|
||||
#include "llvm/Support/MemoryBuffer.h"
|
||||
|
||||
#include "Symbols.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
using llvm::object::Archive;
|
||||
|
|
|
@ -14,7 +14,8 @@ namespace lld {
|
|||
namespace wasm {
|
||||
|
||||
void markLive();
|
||||
}
|
||||
|
||||
} // namespace wasm
|
||||
} // namespace lld
|
||||
|
||||
#endif // LLD_WASM_MARKLIVE_H
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "OutputSections.h"
|
||||
|
||||
#include "InputChunks.h"
|
||||
#include "InputFiles.h"
|
||||
#include "OutputSegment.h"
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "SymbolTable.h"
|
||||
|
||||
#include "Config.h"
|
||||
#include "InputChunks.h"
|
||||
#include "WriterUtils.h"
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
|
||||
#include "InputFiles.h"
|
||||
#include "Symbols.h"
|
||||
|
||||
#include "llvm/ADT/CachedHashString.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "Symbols.h"
|
||||
|
||||
#include "Config.h"
|
||||
#include "InputChunks.h"
|
||||
#include "InputFiles.h"
|
||||
|
|
|
@ -8,8 +8,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "Writer.h"
|
||||
|
||||
#include "llvm/ADT/DenseSet.h"
|
||||
#include "Config.h"
|
||||
#include "InputChunks.h"
|
||||
#include "OutputSections.h"
|
||||
|
@ -19,6 +17,7 @@
|
|||
#include "lld/Common/ErrorHandler.h"
|
||||
#include "lld/Common/Memory.h"
|
||||
#include "lld/Common/Threads.h"
|
||||
#include "llvm/ADT/DenseSet.h"
|
||||
#include "llvm/Support/FileOutputBuffer.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
#include "llvm/Support/FormatVariadic.h"
|
||||
|
|
|
@ -8,9 +8,7 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "WriterUtils.h"
|
||||
|
||||
#include "lld/Common/ErrorHandler.h"
|
||||
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/EndianStream.h"
|
||||
#include "llvm/Support/LEB128.h"
|
||||
|
|
Loading…
Reference in New Issue