diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2015-01-14 11:23:58 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2015-01-14 11:23:58 +0000 |
commit | 575bc3ba624639d164f889fc8da6acd7c52ffc31 (patch) | |
tree | f9cbab7c384bbd496bc5e8ea9aa872377c665e21 /clang/unittests | |
parent | d9903888d9151325c8bdaa6c9c44bc0cb0980ff6 (diff) | |
download | llvm-575bc3ba624639d164f889fc8da6acd7c52ffc31.zip llvm-575bc3ba624639d164f889fc8da6acd7c52ffc31.tar.gz llvm-575bc3ba624639d164f889fc8da6acd7c52ffc31.tar.bz2 |
[cleanup] Re-sort the #include lines using llvm/utils/sort_includes.py
No functionality changed, this is a purely mechanical cleanup to ensure
the #include order remains consistent across the project.
llvm-svn: 225975
Diffstat (limited to 'clang/unittests')
-rw-r--r-- | clang/unittests/AST/ASTVectorTest.cpp | 1 | ||||
-rw-r--r-- | clang/unittests/AST/EvaluateAsRValueTest.cpp | 8 | ||||
-rw-r--r-- | clang/unittests/Basic/FileManagerTest.cpp | 2 | ||||
-rw-r--r-- | clang/unittests/CodeGen/BufferSourceTest.cpp | 8 | ||||
-rw-r--r-- | clang/unittests/libclang/LibclangTest.cpp | 2 |
5 files changed, 9 insertions, 12 deletions
diff --git a/clang/unittests/AST/ASTVectorTest.cpp b/clang/unittests/AST/ASTVectorTest.cpp index 4b5d569..55c06d0 100644 --- a/clang/unittests/AST/ASTVectorTest.cpp +++ b/clang/unittests/AST/ASTVectorTest.cpp @@ -15,7 +15,6 @@ #include "clang/AST/ASTContext.h" #include "clang/AST/ASTVector.h" #include "clang/Basic/Builtins.h" - #include "gtest/gtest.h" using namespace clang; diff --git a/clang/unittests/AST/EvaluateAsRValueTest.cpp b/clang/unittests/AST/EvaluateAsRValueTest.cpp index b5f9b32..820edbc 100644 --- a/clang/unittests/AST/EvaluateAsRValueTest.cpp +++ b/clang/unittests/AST/EvaluateAsRValueTest.cpp @@ -12,16 +12,14 @@ // //===----------------------------------------------------------------------===// -#include <map> -#include <string> - +#include "clang/AST/ASTConsumer.h" #include "clang/AST/ASTConsumer.h" #include "clang/AST/ASTContext.h" #include "clang/AST/RecursiveASTVisitor.h" #include "clang/Tooling/Tooling.h" #include "gtest/gtest.h" - -#include "clang/AST/ASTConsumer.h" +#include <map> +#include <string> using namespace clang::tooling; diff --git a/clang/unittests/Basic/FileManagerTest.cpp b/clang/unittests/Basic/FileManagerTest.cpp index e53213b..dd8cf24 100644 --- a/clang/unittests/Basic/FileManagerTest.cpp +++ b/clang/unittests/Basic/FileManagerTest.cpp @@ -10,8 +10,8 @@ #include "clang/Basic/FileManager.h" #include "clang/Basic/FileSystemOptions.h" #include "clang/Basic/FileSystemStatCache.h" -#include "gtest/gtest.h" #include "llvm/Config/llvm-config.h" +#include "gtest/gtest.h" using namespace llvm; using namespace clang; diff --git a/clang/unittests/CodeGen/BufferSourceTest.cpp b/clang/unittests/CodeGen/BufferSourceTest.cpp index f9d0991..8169a6d 100644 --- a/clang/unittests/CodeGen/BufferSourceTest.cpp +++ b/clang/unittests/CodeGen/BufferSourceTest.cpp @@ -10,16 +10,16 @@ #include "clang/AST/ASTConsumer.h" #include "clang/AST/ASTContext.h" #include "clang/AST/RecursiveASTVisitor.h" +#include "clang/Basic/TargetInfo.h" +#include "clang/CodeGen/ModuleBuilder.h" #include "clang/Frontend/CompilerInstance.h" #include "clang/Lex/Preprocessor.h" -#include "clang/CodeGen/ModuleBuilder.h" -#include "clang/Sema/Sema.h" #include "clang/Parse/ParseAST.h" -#include "clang/Basic/TargetInfo.h" +#include "clang/Sema/Sema.h" #include "llvm/ADT/Triple.h" +#include "llvm/IR/LLVMContext.h" #include "llvm/Support/Host.h" #include "llvm/Support/MemoryBuffer.h" -#include "llvm/IR/LLVMContext.h" #include "gtest/gtest.h" using namespace llvm; diff --git a/clang/unittests/libclang/LibclangTest.cpp b/clang/unittests/libclang/LibclangTest.cpp index ee56e22..a218814 100644 --- a/clang/unittests/libclang/LibclangTest.cpp +++ b/clang/unittests/libclang/LibclangTest.cpp @@ -8,11 +8,11 @@ //===----------------------------------------------------------------------===// #include "clang-c/Index.h" -#include "gtest/gtest.h" #include "llvm/Support/Debug.h" #include "llvm/Support/FileSystem.h" #include "llvm/Support/Path.h" #include "llvm/Support/raw_ostream.h" +#include "gtest/gtest.h" #include <fstream> #include <set> #define DEBUG_TYPE "libclang-test" |