diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2017-06-06 11:06:56 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2017-06-06 11:06:56 +0000 |
commit | 3c0d60785cd10f45fe4ab59ab4d02ffe9ad9d33e (patch) | |
tree | aa00c8b24af5b34386bbed30b5cea97e361fd35a /unittests/Transforms | |
parent | 9bea4232dd8316373ca3be3ca71a2a645927ef7f (diff) |
Re-sort #include lines for unittests. This uses a slightly modified
clang-format (https://reviews.llvm.org/D33932) to keep primary headers
at the top and handle new utility headers like 'gmock' consistently with
other utility headers.
No other change was made. I did no manual edits, all of this is
clang-format.
This should allow other changes to have more clear and focused diffs,
and is especially motivated by moving some headers into more focused
libraries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304786 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Transforms')
-rw-r--r-- | unittests/Transforms/Scalar/LoopPassManagerTest.cpp | 2 | ||||
-rw-r--r-- | unittests/Transforms/Utils/FunctionComparator.cpp | 2 | ||||
-rw-r--r-- | unittests/Transforms/Utils/ValueMapperTest.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/unittests/Transforms/Scalar/LoopPassManagerTest.cpp b/unittests/Transforms/Scalar/LoopPassManagerTest.cpp index 227060f0a46..dfc351c648b 100644 --- a/unittests/Transforms/Scalar/LoopPassManagerTest.cpp +++ b/unittests/Transforms/Scalar/LoopPassManagerTest.cpp @@ -7,6 +7,7 @@ // //===----------------------------------------------------------------------===// +#include "llvm/Transforms/Scalar/LoopPassManager.h" #include "llvm/Analysis/AliasAnalysis.h" #include "llvm/Analysis/AssumptionCache.h" #include "llvm/Analysis/ScalarEvolution.h" @@ -19,7 +20,6 @@ #include "llvm/IR/Module.h" #include "llvm/IR/PassManager.h" #include "llvm/Support/SourceMgr.h" -#include "llvm/Transforms/Scalar/LoopPassManager.h" #include "gmock/gmock.h" #include "gtest/gtest.h" diff --git a/unittests/Transforms/Utils/FunctionComparator.cpp b/unittests/Transforms/Utils/FunctionComparator.cpp index ff68cd6224d..26e20cd9112 100644 --- a/unittests/Transforms/Utils/FunctionComparator.cpp +++ b/unittests/Transforms/Utils/FunctionComparator.cpp @@ -10,8 +10,8 @@ #include "llvm/IR/BasicBlock.h" #include "llvm/IR/IRBuilder.h" #include "llvm/IR/Instructions.h" -#include "llvm/IR/Module.h" #include "llvm/IR/LLVMContext.h" +#include "llvm/IR/Module.h" #include "gtest/gtest.h" using namespace llvm; diff --git a/unittests/Transforms/Utils/ValueMapperTest.cpp b/unittests/Transforms/Utils/ValueMapperTest.cpp index 34b62bb930d..94ac76bb076 100644 --- a/unittests/Transforms/Utils/ValueMapperTest.cpp +++ b/unittests/Transforms/Utils/ValueMapperTest.cpp @@ -7,12 +7,12 @@ // //===----------------------------------------------------------------------===// +#include "llvm/Transforms/Utils/ValueMapper.h" #include "llvm/IR/Constants.h" #include "llvm/IR/Function.h" #include "llvm/IR/GlobalVariable.h" #include "llvm/IR/LLVMContext.h" #include "llvm/IR/Metadata.h" -#include "llvm/Transforms/Utils/ValueMapper.h" #include "gtest/gtest.h" using namespace llvm; |