summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/CLog.h
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-03-04 10:05:20 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-03-04 10:05:20 +0000
commit757fcd6d1f7215be8fb90fd5ae5929efd4c21618 (patch)
tree7707051ba87b791114bc77b39f2d510f6406c4ae /clang/tools/libclang/CLog.h
parentedc9e38810c94626c8ba78801ef81b0ce61ed502 (diff)
downloadbcm5719-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.h1
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"
OpenPOWER on IntegriCloud