diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-12-04 09:13:33 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-12-04 09:13:33 +0000 |
commit | 55fc873017f10f6f566b182b70f6fc22aefa3464 (patch) | |
tree | bf3ca2cdbb0fb8219a8aa4adb0fafbab4b49a49d /lib/Driver/ToolChains.cpp | |
parent | d031c6aa0cb70000381b587574ce560ffbc59d00 (diff) |
Sort all of Clang's files under 'lib', and fix up the broken headers
uncovered.
This required manually correcting all of the incorrect main-module
headers I could find, and running the new llvm/utils/sort_includes.py
script over the files.
I also manually added quite a few missing headers that were uncovered by
shuffling the order or moving headers up to be main-module-headers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169237 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/ToolChains.cpp')
-rw-r--r-- | lib/Driver/ToolChains.cpp | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp index 525c05c3e7..0f1a40050d 100644 --- a/lib/Driver/ToolChains.cpp +++ b/lib/Driver/ToolChains.cpp @@ -8,7 +8,10 @@ //===----------------------------------------------------------------------===// #include "ToolChains.h" - +#include "SanitizerArgs.h" +#include "clang/Basic/ObjCRuntime.h" +#include "clang/Basic/Version.h" +#include "clang/Config/config.h" // for GCC_INSTALL_PREFIX #include "clang/Driver/Arg.h" #include "clang/Driver/ArgList.h" #include "clang/Driver/Compilation.h" @@ -17,26 +20,18 @@ #include "clang/Driver/OptTable.h" #include "clang/Driver/Option.h" #include "clang/Driver/Options.h" -#include "clang/Basic/ObjCRuntime.h" -#include "clang/Basic/Version.h" - +#include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SmallString.h" #include "llvm/ADT/StringExtras.h" #include "llvm/ADT/StringSwitch.h" -#include "llvm/ADT/STLExtras.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/FileSystem.h" #include "llvm/Support/MemoryBuffer.h" -#include "llvm/Support/raw_ostream.h" #include "llvm/Support/Path.h" +#include "llvm/Support/raw_ostream.h" #include "llvm/Support/system_error.h" - -#include "SanitizerArgs.h" - #include <cstdlib> // ::getenv -#include "clang/Config/config.h" // for GCC_INSTALL_PREFIX - using namespace clang::driver; using namespace clang::driver::toolchains; using namespace clang; |