diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-12-04 10:44:52 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-12-04 10:44:52 +0000 |
commit | f010c464a11444733ec67e31aace8bcebeaf2588 (patch) | |
tree | 3ea1651637933e6772a41032d3b164093f13e7fa /tools/gold | |
parent | 4ffd89fa4d2788611187d1a534d2ed46adf1702c (diff) | |
download | external_llvm-f010c464a11444733ec67e31aace8bcebeaf2588.zip external_llvm-f010c464a11444733ec67e31aace8bcebeaf2588.tar.gz external_llvm-f010c464a11444733ec67e31aace8bcebeaf2588.tar.bz2 |
Sort the #include lines for tools/...
Again, tools are trickier to pick the main module header for than
library source files. I've started to follow the pattern of using
LLVMContext.h when it is included as a stub for program source files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169252 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gold')
-rw-r--r-- | tools/gold/gold-plugin.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/tools/gold/gold-plugin.cpp b/tools/gold/gold-plugin.cpp index b0a0dd2..40f5fd6 100644 --- a/tools/gold/gold-plugin.cpp +++ b/tools/gold/gold-plugin.cpp @@ -14,17 +14,14 @@ #include "llvm/Config/config.h" // plugin-api.h requires HAVE_STDINT_H #include "plugin-api.h" - #include "llvm-c/lto.h" - #include "llvm/ADT/OwningPtr.h" -#include "llvm/Support/system_error.h" -#include "llvm/Support/MemoryBuffer.h" -#include "llvm/Support/ToolOutputFile.h" #include "llvm/Support/Errno.h" +#include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/Path.h" #include "llvm/Support/Program.h" - +#include "llvm/Support/ToolOutputFile.h" +#include "llvm/Support/system_error.h" #include <cerrno> #include <cstdlib> #include <cstring> |