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 bf9e78f72892c..b86ba3ee8a581 100644 --- a/include/clang/Index/TranslationUnit.h +++ b/include/clang/Index/TranslationUnit.h @@ -16,6 +16,7 @@ namespace clang { class ASTContext; + class Preprocessor; namespace idx { class DeclReferenceMap; @@ -26,6 +27,7 @@ class TranslationUnit { public: virtual ~TranslationUnit(); virtual ASTContext &getASTContext() = 0; + virtual Preprocessor &getPreprocessor() = 0; virtual DeclReferenceMap &getDeclReferenceMap() = 0; virtual SelectorMap &getSelectorMap() = 0; }; |