aboutsummaryrefslogtreecommitdiff
path: root/unittests/AST
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-12-04 09:45:34 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-12-04 09:45:34 +0000
commit1050e8b2252d89a0004a6fd25a58dab88b5ee625 (patch)
treeaa1af222bc1bad73e6034d0976e8fec4d6439821 /unittests/AST
parente0c6e93dddf4503d9b12ce09d7ab6ea5d523499f (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/AST')
-rw-r--r--unittests/AST/CommentLexer.cpp9
-rw-r--r--unittests/AST/CommentParser.cpp13
-rw-r--r--unittests/AST/SourceLocationTest.cpp2
3 files changed, 11 insertions, 13 deletions
diff --git a/unittests/AST/CommentLexer.cpp b/unittests/AST/CommentLexer.cpp
index 2723a611e1..f2167e042b 100644
--- a/unittests/AST/CommentLexer.cpp
+++ b/unittests/AST/CommentLexer.cpp
@@ -7,16 +7,15 @@
//
//===----------------------------------------------------------------------===//
+#include "clang/AST/CommentLexer.h"
#include "clang/Basic/SourceManager.h"
-#include "clang/Basic/FileManager.h"
+#include "clang/AST/CommentCommandTraits.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/DiagnosticOptions.h"
-#include "clang/AST/CommentLexer.h"
-#include "clang/AST/CommentCommandTraits.h"
+#include "clang/Basic/FileManager.h"
#include "llvm/ADT/STLExtras.h"
-#include <vector>
-
#include "gtest/gtest.h"
+#include <vector>
using namespace llvm;
using namespace clang;
diff --git a/unittests/AST/CommentParser.cpp b/unittests/AST/CommentParser.cpp
index 8fde2478e7..f9bf58c92e 100644
--- a/unittests/AST/CommentParser.cpp
+++ b/unittests/AST/CommentParser.cpp
@@ -7,20 +7,19 @@
//
//===----------------------------------------------------------------------===//
+#include "clang/AST/CommentParser.h"
#include "clang/Basic/SourceManager.h"
-#include "clang/Basic/FileManager.h"
-#include "clang/Basic/Diagnostic.h"
-#include "clang/Basic/DiagnosticOptions.h"
#include "clang/AST/Comment.h"
+#include "clang/AST/CommentCommandTraits.h"
#include "clang/AST/CommentLexer.h"
-#include "clang/AST/CommentParser.h"
#include "clang/AST/CommentSema.h"
-#include "clang/AST/CommentCommandTraits.h"
+#include "clang/Basic/Diagnostic.h"
+#include "clang/Basic/DiagnosticOptions.h"
+#include "clang/Basic/FileManager.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/Allocator.h"
-#include <vector>
-
#include "gtest/gtest.h"
+#include <vector>
using namespace llvm;
using namespace clang;
diff --git a/unittests/AST/SourceLocationTest.cpp b/unittests/AST/SourceLocationTest.cpp
index dec833d15d..eaf9285cf4 100644
--- a/unittests/AST/SourceLocationTest.cpp
+++ b/unittests/AST/SourceLocationTest.cpp
@@ -17,8 +17,8 @@
//===----------------------------------------------------------------------===//
#include "clang/AST/ASTContext.h"
-#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
+#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/Tooling/Tooling.h"
#include "gtest/gtest.h"