summaryrefslogtreecommitdiffstats
path: root/clang/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
commit320d9666eeab256ecaec2e2c1676bbb40f3aac9e (patch)
tree7a266d7fe3968e36638134a11cfe74d11b563bf8 /clang/unittests/AST
parented09f456e7e99076fc3490cde3d59201f3328c12 (diff)
downloadbcm5719-llvm-320d9666eeab256ecaec2e2c1676bbb40f3aac9e.tar.gz
bcm5719-llvm-320d9666eeab256ecaec2e2c1676bbb40f3aac9e.zip
Sort the #include lines for unittests/...
I've tried to place sensible headers at the top as main-module headers. llvm-svn: 169243
Diffstat (limited to 'clang/unittests/AST')
-rw-r--r--clang/unittests/AST/CommentLexer.cpp9
-rw-r--r--clang/unittests/AST/CommentParser.cpp13
-rw-r--r--clang/unittests/AST/SourceLocationTest.cpp2
3 files changed, 11 insertions, 13 deletions
diff --git a/clang/unittests/AST/CommentLexer.cpp b/clang/unittests/AST/CommentLexer.cpp
index 2723a611e10..f2167e042ba 100644
--- a/clang/unittests/AST/CommentLexer.cpp
+++ b/clang/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/clang/unittests/AST/CommentParser.cpp b/clang/unittests/AST/CommentParser.cpp
index 8fde2478e74..f9bf58c92e8 100644
--- a/clang/unittests/AST/CommentParser.cpp
+++ b/clang/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/clang/unittests/AST/SourceLocationTest.cpp b/clang/unittests/AST/SourceLocationTest.cpp
index dec833d15d8..eaf9285cf4d 100644
--- a/clang/unittests/AST/SourceLocationTest.cpp
+++ b/clang/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"
OpenPOWER on IntegriCloud