summaryrefslogtreecommitdiffstats
path: root/tools/CIndex/CIndexDiagnostic.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/CIndex/CIndexDiagnostic.h')
-rw-r--r--tools/CIndex/CIndexDiagnostic.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/tools/CIndex/CIndexDiagnostic.h b/tools/CIndex/CIndexDiagnostic.h
index 79a5df0..919c21c 100644
--- a/tools/CIndex/CIndexDiagnostic.h
+++ b/tools/CIndex/CIndexDiagnostic.h
@@ -13,20 +13,21 @@
#ifndef LLVM_CLANG_CINDEX_DIAGNOSTIC_H
#define LLVM_CLANG_CINDEX_DIAGNOSTIC_H
-#include "clang-c/Index.h"
-#include "clang/Basic/Diagnostic.h"
-#include "clang/Basic/LangOptions.h"
-#include "llvm/ADT/SmallVector.h"
+struct CXUnsavedFile;
-namespace llvm { namespace sys {
-class Path;
-} }
+namespace llvm {
+template<typename T> class SmallVectorImpl;
+namespace sys { class Path; }
+}
namespace clang {
class Diagnostic;
+class FileManager;
class LangOptions;
class Preprocessor;
+class StoredDiagnostic;
+class SourceManager;
/// \brief The storage behind a CXDiagnostic
struct CXStoredDiagnostic {
OpenPOWER on IntegriCloud