diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-03-04 10:05:20 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-03-04 10:05:20 +0000 |
commit | 757fcd6d1f7215be8fb90fd5ae5929efd4c21618 (patch) | |
tree | 7707051ba87b791114bc77b39f2d510f6406c4ae /clang/tools/libclang/CLog.h | |
parent | edc9e38810c94626c8ba78801ef81b0ce61ed502 (diff) | |
download | bcm5719-llvm-757fcd6d1f7215be8fb90fd5ae5929efd4c21618.tar.gz bcm5719-llvm-757fcd6d1f7215be8fb90fd5ae5929efd4c21618.zip |
[cleanup] Re-sort includes with llvm/utils/sort_includes.py and fix
a missing include from CLog.h.
CLog.h referenced most of the core libclang types but never directly
included Index.h that provides them. Previously it got lucky and other
headers were always included first but with the sorting it ended up
first in one case and stopped compiling. Adding the Index.h include
fixes it right up.
llvm-svn: 202810
Diffstat (limited to 'clang/tools/libclang/CLog.h')
-rw-r--r-- | clang/tools/libclang/CLog.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/tools/libclang/CLog.h b/clang/tools/libclang/CLog.h index 8bf224a1e0a..fe6c218bbaa 100644 --- a/clang/tools/libclang/CLog.h +++ b/clang/tools/libclang/CLog.h @@ -10,6 +10,7 @@ #ifndef LLVM_LIBCLANG_CLOG_H #define LLVM_LIBCLANG_CLOG_H +#include "clang-c/Index.h" #include "clang/Basic/LLVM.h" #include "llvm/ADT/IntrusiveRefCntPtr.h" #include "llvm/ADT/SmallString.h" |