diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-12-04 09:45:34 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-12-04 09:45:34 +0000 |
commit | 1050e8b2252d89a0004a6fd25a58dab88b5ee625 (patch) | |
tree | aa1af222bc1bad73e6034d0976e8fec4d6439821 /unittests/Tooling | |
parent | e0c6e93dddf4503d9b12ce09d7ab6ea5d523499f (diff) |
Sort the #include lines for unittests/...
I've tried to place sensible headers at the top as main-module headers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169243 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Tooling')
-rw-r--r-- | unittests/Tooling/RefactoringCallbacksTest.cpp | 6 | ||||
-rw-r--r-- | unittests/Tooling/RefactoringTest.cpp | 4 | ||||
-rw-r--r-- | unittests/Tooling/TestVisitor.h | 7 |
3 files changed, 8 insertions, 9 deletions
diff --git a/unittests/Tooling/RefactoringCallbacksTest.cpp b/unittests/Tooling/RefactoringCallbacksTest.cpp index 4e30cfde26..4659efa1e0 100644 --- a/unittests/Tooling/RefactoringCallbacksTest.cpp +++ b/unittests/Tooling/RefactoringCallbacksTest.cpp @@ -1,4 +1,4 @@ -//===- unittest/ASTMatchers/RefactoringCallbacksTest.cpp ------------------===// +//===- unittest/Tooling/RefactoringCallbacksTest.cpp ----------------------===// // // The LLVM Compiler Infrastructure // @@ -7,10 +7,10 @@ // //===----------------------------------------------------------------------===// -#include "clang/ASTMatchers/ASTMatchers.h" -#include "clang/ASTMatchers/ASTMatchFinder.h" #include "clang/Tooling/RefactoringCallbacks.h" +#include "clang/ASTMatchers/ASTMatchers.h" #include "RewriterTestContext.h" +#include "clang/ASTMatchers/ASTMatchFinder.h" #include "gtest/gtest.h" namespace clang { diff --git a/unittests/Tooling/RefactoringTest.cpp b/unittests/Tooling/RefactoringTest.cpp index ff278bfd52..69aaaa5492 100644 --- a/unittests/Tooling/RefactoringTest.cpp +++ b/unittests/Tooling/RefactoringTest.cpp @@ -8,12 +8,11 @@ //===----------------------------------------------------------------------===// #include "RewriterTestContext.h" -#include "clang/AST/ASTContext.h" #include "clang/AST/ASTConsumer.h" +#include "clang/AST/ASTContext.h" #include "clang/AST/DeclCXX.h" #include "clang/AST/DeclGroup.h" #include "clang/AST/RecursiveASTVisitor.h" -#include "clang/Tooling/Refactoring.h" #include "clang/Basic/Diagnostic.h" #include "clang/Basic/DiagnosticOptions.h" #include "clang/Basic/FileManager.h" @@ -23,6 +22,7 @@ #include "clang/Frontend/FrontendAction.h" #include "clang/Frontend/TextDiagnosticPrinter.h" #include "clang/Rewrite/Core/Rewriter.h" +#include "clang/Tooling/Refactoring.h" #include "clang/Tooling/Tooling.h" #include "llvm/ADT/SmallString.h" #include "llvm/Support/Path.h" diff --git a/unittests/Tooling/TestVisitor.h b/unittests/Tooling/TestVisitor.h index 8333c24a68..ce3246a902 100644 --- a/unittests/Tooling/TestVisitor.h +++ b/unittests/Tooling/TestVisitor.h @@ -15,15 +15,14 @@ #ifndef LLVM_CLANG_TEST_VISITOR_H #define LLVM_CLANG_TEST_VISITOR_H -#include <vector> - -#include "clang/AST/ASTContext.h" #include "clang/AST/ASTConsumer.h" +#include "clang/AST/ASTContext.h" #include "clang/AST/RecursiveASTVisitor.h" -#include "clang/Frontend/FrontendAction.h" #include "clang/Frontend/CompilerInstance.h" +#include "clang/Frontend/FrontendAction.h" #include "clang/Tooling/Tooling.h" #include "gtest/gtest.h" +#include <vector> namespace clang { |