diff options
-rw-r--r-- | lib/ARCMigrate/TransProtectedScope.cpp | 2 | ||||
-rw-r--r-- | lib/CodeGen/CGException.cpp | 2 | ||||
-rw-r--r-- | lib/Format/UnwrappedLineParser.cpp | 2 | ||||
-rw-r--r-- | lib/Format/UnwrappedLineParser.h | 1 | ||||
-rw-r--r-- | tools/libclang/CIndex.cpp | 6 | ||||
-rw-r--r-- | tools/libclang/CIndexCodeCompletion.cpp | 2 | ||||
-rw-r--r-- | tools/libclang/CIndexHigh.cpp | 2 | ||||
-rw-r--r-- | tools/libclang/CLog.h | 1 | ||||
-rw-r--r-- | tools/libclang/CXSourceLocation.cpp | 2 | ||||
-rw-r--r-- | tools/libclang/Indexing.cpp | 2 | ||||
-rw-r--r-- | unittests/Format/FormatTest.cpp | 4 |
11 files changed, 13 insertions, 13 deletions
diff --git a/lib/ARCMigrate/TransProtectedScope.cpp b/lib/ARCMigrate/TransProtectedScope.cpp index 843680a521..b8b25f2594 100644 --- a/lib/ARCMigrate/TransProtectedScope.cpp +++ b/lib/ARCMigrate/TransProtectedScope.cpp @@ -14,8 +14,8 @@ #include "Transforms.h" #include "Internals.h" -#include "clang/Sema/SemaDiagnostic.h" #include "clang/AST/ASTContext.h" +#include "clang/Sema/SemaDiagnostic.h" using namespace clang; using namespace arcmt; diff --git a/lib/CodeGen/CGException.cpp b/lib/CodeGen/CGException.cpp index 58ef3ae1a8..7e51ec59fb 100644 --- a/lib/CodeGen/CGException.cpp +++ b/lib/CodeGen/CGException.cpp @@ -15,8 +15,8 @@ #include "CGCleanup.h" #include "CGObjCRuntime.h" #include "TargetInfo.h" -#include "clang/AST/StmtObjC.h" #include "clang/AST/StmtCXX.h" +#include "clang/AST/StmtObjC.h" #include "llvm/IR/Intrinsics.h" #include "llvm/Support/CallSite.h" diff --git a/lib/Format/UnwrappedLineParser.cpp b/lib/Format/UnwrappedLineParser.cpp index a0a18ac1cf..393416de02 100644 --- a/lib/Format/UnwrappedLineParser.cpp +++ b/lib/Format/UnwrappedLineParser.cpp @@ -18,9 +18,9 @@ #define DEBUG_TYPE "format-parser" +#include "UnwrappedLineParser.h" #include "clang/Basic/Diagnostic.h" #include "llvm/Support/Debug.h" -#include "UnwrappedLineParser.h" // Uncomment to get debug output from tests: // #define DEBUG_WITH_TYPE(T, X) do { X; } while(0) diff --git a/lib/Format/UnwrappedLineParser.h b/lib/Format/UnwrappedLineParser.h index 7a999e7892..010569af7b 100644 --- a/lib/Format/UnwrappedLineParser.h +++ b/lib/Format/UnwrappedLineParser.h @@ -23,7 +23,6 @@ #include "clang/Basic/SourceManager.h" #include "clang/Format/Format.h" #include "clang/Lex/Lexer.h" - #include <list> namespace clang { diff --git a/tools/libclang/CIndex.cpp b/tools/libclang/CIndex.cpp index 6f790ae685..7d999b86fb 100644 --- a/tools/libclang/CIndex.cpp +++ b/tools/libclang/CIndex.cpp @@ -14,6 +14,7 @@ #include "CIndexer.h" #include "CIndexDiagnostic.h" +#include "CLog.h" #include "CXComment.h" #include "CXCursor.h" #include "CXSourceLocation.h" @@ -21,7 +22,6 @@ #include "CXTranslationUnit.h" #include "CXType.h" #include "CursorVisitor.h" -#include "CLog.h" #include "SimpleFormatContext.h" #include "clang/AST/StmtVisitor.h" #include "clang/Basic/Diagnostic.h" @@ -36,8 +36,10 @@ #include "llvm/ADT/Optional.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/StringSwitch.h" +#include "llvm/Config/config.h" #include "llvm/Support/Compiler.h" #include "llvm/Support/CrashRecoveryContext.h" +#include "llvm/Support/Format.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/Mutex.h" #include "llvm/Support/PrettyStackTrace.h" @@ -47,8 +49,6 @@ #include "llvm/Support/Threading.h" #include "llvm/Support/Timer.h" #include "llvm/Support/raw_ostream.h" -#include "llvm/Support/Format.h" -#include "llvm/Config/config.h" #if HAVE_PTHREAD_H #include <pthread.h> diff --git a/tools/libclang/CIndexCodeCompletion.cpp b/tools/libclang/CIndexCodeCompletion.cpp index 6bd31e786e..57588c79e7 100644 --- a/tools/libclang/CIndexCodeCompletion.cpp +++ b/tools/libclang/CIndexCodeCompletion.cpp @@ -14,10 +14,10 @@ #include "CIndexer.h" #include "CIndexDiagnostic.h" +#include "CLog.h" #include "CXCursor.h" #include "CXString.h" #include "CXTranslationUnit.h" -#include "CLog.h" #include "clang/AST/Decl.h" #include "clang/AST/DeclObjC.h" #include "clang/AST/Type.h" diff --git a/tools/libclang/CIndexHigh.cpp b/tools/libclang/CIndexHigh.cpp index 81aa5b39db..a2c32fe050 100644 --- a/tools/libclang/CIndexHigh.cpp +++ b/tools/libclang/CIndexHigh.cpp @@ -8,10 +8,10 @@ //===----------------------------------------------------------------------===// #include "CursorVisitor.h" +#include "CLog.h" #include "CXCursor.h" #include "CXSourceLocation.h" #include "CXTranslationUnit.h" -#include "CLog.h" #include "clang/AST/DeclObjC.h" #include "clang/Frontend/ASTUnit.h" #include "llvm/Support/Compiler.h" diff --git a/tools/libclang/CLog.h b/tools/libclang/CLog.h index c3dcb57793..3ac40d56e7 100644 --- a/tools/libclang/CLog.h +++ b/tools/libclang/CLog.h @@ -10,6 +10,7 @@ #ifndef LLVM_LIBCLANG_CLOG_H #define LLVM_LIBCLANG_CLOG_H +#include "clang/Basic/LLVM.h" #include "llvm/ADT/IntrusiveRefCntPtr.h" #include "llvm/ADT/SmallString.h" #include "llvm/ADT/StringRef.h" diff --git a/tools/libclang/CXSourceLocation.cpp b/tools/libclang/CXSourceLocation.cpp index 2b3a300f0d..fcc78774ee 100644 --- a/tools/libclang/CXSourceLocation.cpp +++ b/tools/libclang/CXSourceLocation.cpp @@ -13,11 +13,11 @@ #include "clang/Frontend/ASTUnit.h" #include "CIndexer.h" +#include "CLog.h" #include "CXLoadedDiagnostic.h" #include "CXSourceLocation.h" #include "CXString.h" #include "CXTranslationUnit.h" -#include "CLog.h" #include "llvm/Support/Compiler.h" #include "llvm/Support/Format.h" diff --git a/tools/libclang/Indexing.cpp b/tools/libclang/Indexing.cpp index 53a16ae703..3bbd74a9b2 100644 --- a/tools/libclang/Indexing.cpp +++ b/tools/libclang/Indexing.cpp @@ -10,11 +10,11 @@ #include "IndexingContext.h" #include "CIndexDiagnostic.h" #include "CIndexer.h" +#include "CLog.h" #include "CXCursor.h" #include "CXSourceLocation.h" #include "CXString.h" #include "CXTranslationUnit.h" -#include "CLog.h" #include "clang/AST/ASTConsumer.h" #include "clang/AST/DeclVisitor.h" #include "clang/Frontend/ASTUnit.h" diff --git a/unittests/Format/FormatTest.cpp b/unittests/Format/FormatTest.cpp index 1434f32e2f..c9319d5939 100644 --- a/unittests/Format/FormatTest.cpp +++ b/unittests/Format/FormatTest.cpp @@ -10,10 +10,10 @@ #define DEBUG_TYPE "format-test" #include "clang/Format/Format.h" +#include "../Tooling/RewriterTestContext.h" #include "clang/Lex/Lexer.h" -#include "gtest/gtest.h" #include "llvm/Support/Debug.h" -#include "../Tooling/RewriterTestContext.h" +#include "gtest/gtest.h" // Uncomment to get debug output from tests: // #define DEBUG_WITH_TYPE(T, X) do { X; } while(0) |