diff options
Diffstat (limited to 'include/clang/Index/TranslationUnit.h')
-rw-r--r-- | include/clang/Index/TranslationUnit.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Index/TranslationUnit.h b/include/clang/Index/TranslationUnit.h index b86ba3e..0099d63 100644 --- a/include/clang/Index/TranslationUnit.h +++ b/include/clang/Index/TranslationUnit.h @@ -16,6 +16,7 @@ namespace clang { class ASTContext; + class Diagnostic; class Preprocessor; namespace idx { @@ -28,6 +29,7 @@ public: virtual ~TranslationUnit(); virtual ASTContext &getASTContext() = 0; virtual Preprocessor &getPreprocessor() = 0; + virtual Diagnostic &getDiagnostic() = 0; virtual DeclReferenceMap &getDeclReferenceMap() = 0; virtual SelectorMap &getSelectorMap() = 0; }; |