From 880dcf21dfdb3ff763c60195b6794bab0d913095 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Fri, 20 Mar 2009 00:24:49 +0000 Subject: [PATCH] Add accessor Preprocessor::getPTHManager(). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67351 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Lex/Preprocessor.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/clang/Lex/Preprocessor.h b/include/clang/Lex/Preprocessor.h index 17e2c2f8a0..7e03d196c4 100644 --- a/include/clang/Lex/Preprocessor.h +++ b/include/clang/Lex/Preprocessor.h @@ -209,9 +209,10 @@ public: IdentifierTable &getIdentifierTable() { return Identifiers; } SelectorTable &getSelectorTable() { return Selectors; } llvm::BumpPtrAllocator &getPreprocessorAllocator() { return BP; } - - + void setPTHManager(PTHManager* pm); + + PTHManager *getPTHManager() { return PTH.get(); } /// SetCommentRetentionState - Control whether or not the preprocessor retains /// comments in output. -- 2.40.0