diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2013-01-19 08:09:44 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2013-01-19 08:09:44 +0000 |
commit | 4b41745e0556087fe22a2a6f17de92d95199f701 (patch) | |
tree | 9422e55fca46c86ce74a4a64e738405acfd01477 /clang/tools/libclang/CIndex.cpp | |
parent | 1fe21fc0b5dfb42b0c8909a51251c8f900058af4 (diff) | |
download | bcm5719-llvm-4b41745e0556087fe22a2a6f17de92d95199f701.tar.gz bcm5719-llvm-4b41745e0556087fe22a2a6f17de92d95199f701.zip |
Re-sort all the headers. Lots of regressions have crept in here.
Manually fix the order of UnwrappedLineParser.cpp as that one didn't
have its associated header as the first header.
This also uncovered a subtle inclusion order dependency as CLog.h didn't
include LLVM.h to pick up using declarations it relied upon.
llvm-svn: 172892
Diffstat (limited to 'clang/tools/libclang/CIndex.cpp')
-rw-r--r-- | clang/tools/libclang/CIndex.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/tools/libclang/CIndex.cpp b/clang/tools/libclang/CIndex.cpp index 6f790ae6852..7d999b86fbb 100644 --- a/clang/tools/libclang/CIndex.cpp +++ b/clang/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> |