mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 14:20:17 +00:00
[Cleanup] Sort includes.
llvm-svn: 203666
This commit is contained in:
parent
340dd5193d
commit
d6432c8aed
@ -18,8 +18,8 @@
|
||||
#define LLD_DRIVER_CORE_INPUT_GRAPH_H
|
||||
|
||||
#include "lld/Core/InputGraph.h"
|
||||
#include "lld/ReaderWriter/Reader.h"
|
||||
#include "lld/ReaderWriter/CoreLinkingContext.h"
|
||||
#include "lld/ReaderWriter/Reader.h"
|
||||
#include "llvm/ADT/OwningPtr.h"
|
||||
|
||||
#include <map>
|
||||
|
@ -22,8 +22,8 @@
|
||||
#include "llvm/ADT/StringSwitch.h"
|
||||
#include "llvm/Support/Allocator.h"
|
||||
#include "llvm/Support/MemoryBuffer.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "llvm/Support/SourceMgr.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "llvm/Support/system_error.h"
|
||||
|
||||
#include <vector>
|
||||
|
@ -13,11 +13,6 @@
|
||||
///
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include <algorithm>
|
||||
#include <cctype>
|
||||
#include <sstream>
|
||||
#include <map>
|
||||
|
||||
#include "lld/Driver/Driver.h"
|
||||
#include "lld/Driver/WinLinkInputGraph.h"
|
||||
#include "lld/Driver/WinLinkModuleDef.h"
|
||||
@ -36,6 +31,11 @@
|
||||
#include "llvm/Support/Program.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cctype>
|
||||
#include <map>
|
||||
#include <sstream>
|
||||
|
||||
namespace lld {
|
||||
|
||||
//
|
||||
|
@ -9,6 +9,10 @@
|
||||
#ifndef LLD_READER_WRITER_ELF_OUTPUT_WRITER_H
|
||||
#define LLD_READER_WRITER_ELF_OUTPUT_WRITER_H
|
||||
|
||||
#include "DefaultLayout.h"
|
||||
#include "ELFFile.h"
|
||||
#include "TargetLayout.h"
|
||||
|
||||
#include "lld/Core/Instrumentation.h"
|
||||
#include "lld/Core/Parallel.h"
|
||||
#include "lld/ReaderWriter/ELFLinkingContext.h"
|
||||
@ -16,10 +20,6 @@
|
||||
|
||||
#include "llvm/ADT/StringSet.h"
|
||||
|
||||
#include "DefaultLayout.h"
|
||||
#include "ELFFile.h"
|
||||
#include "TargetLayout.h"
|
||||
|
||||
namespace lld {
|
||||
namespace elf {
|
||||
using namespace llvm;
|
||||
|
@ -20,9 +20,9 @@
|
||||
#include "lld/Core/range.h"
|
||||
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/ADT/OwningPtr.h"
|
||||
#include "llvm/ADT/StringExtras.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/Object/ELF.h"
|
||||
#include "llvm/Support/Allocator.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
|
@ -19,8 +19,8 @@
|
||||
#include "llvm/Support/Format.h"
|
||||
#include "llvm/Support/MemoryBuffer.h"
|
||||
|
||||
#include <unordered_map>
|
||||
#include <set>
|
||||
#include <unordered_map>
|
||||
|
||||
using llvm::object::Archive;
|
||||
using llvm::object::ObjectFile;
|
||||
|
@ -7,6 +7,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "NativeFileFormat.h"
|
||||
|
||||
#include "lld/ReaderWriter/Reader.h"
|
||||
#include "lld/ReaderWriter/Simple.h"
|
||||
|
||||
@ -23,10 +25,8 @@
|
||||
#include "llvm/Support/MemoryBuffer.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
#include "NativeFileFormat.h"
|
||||
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
namespace lld {
|
||||
namespace native {
|
||||
|
@ -21,12 +21,6 @@
|
||||
|
||||
#define DEBUG_TYPE "WriterPECOFF"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstdlib>
|
||||
#include <map>
|
||||
#include <time.h>
|
||||
#include <vector>
|
||||
|
||||
#include "Atoms.h"
|
||||
#include "WriterImportLibrary.h"
|
||||
|
||||
@ -46,6 +40,12 @@
|
||||
#include "llvm/Support/FileOutputBuffer.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstdlib>
|
||||
#include <map>
|
||||
#include <time.h>
|
||||
#include <vector>
|
||||
|
||||
using llvm::COFF::DataDirectoryIndex;
|
||||
using llvm::object::coff_runtime_function_x64;
|
||||
using llvm::support::ulittle16_t;
|
||||
|
@ -27,9 +27,9 @@
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
#include "llvm/Support/MemoryBuffer.h"
|
||||
#include "llvm/Support/YAMLTraits.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "llvm/Support/system_error.h"
|
||||
#include "llvm/Support/YAMLTraits.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -9,14 +9,14 @@
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "../../lib/ReaderWriter/MachO/MachONormalizedFile.h"
|
||||
#include <llvm/ADT/OwningPtr.h>
|
||||
#include <llvm/ADT/Twine.h>
|
||||
#include <llvm/Support/FileSystem.h>
|
||||
#include <llvm/Support/MachO.h>
|
||||
#include <llvm/Support/system_error.h>
|
||||
#include "../../lib/ReaderWriter/MachO/MachONormalizedFile.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <vector>
|
||||
|
||||
using llvm::StringRef;
|
||||
|
Loading…
Reference in New Issue
Block a user