aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Lex/Preprocessor.h
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-03-20 00:24:49 +0000
committerTed Kremenek <kremenek@apple.com>2009-03-20 00:24:49 +0000
commit880dcf21dfdb3ff763c60195b6794bab0d913095 (patch)
tree267982450cb875e22e25461337c0f5bfdd4e68d7 /include/clang/Lex/Preprocessor.h
parent3917608370583fa30c466b6c3893448229aea9ad (diff)
Add accessor Preprocessor::getPTHManager().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67351 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/Preprocessor.h')
-rw-r--r--include/clang/Lex/Preprocessor.h5
1 files 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.