[Cleanup] Sort includes.

llvm-svn: 203666
This commit is contained in:
Ahmed Charles 2014-03-12 15:55:13 +00:00
parent 340dd5193d
commit d6432c8aed
10 changed files with 25 additions and 25 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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