[cfe-commits] r67351 - /cfe/trunk/include/clang/Lex/Preprocessor.h
Ted Kremenek
kremenek at apple.com
Thu Mar 19 17:24:49 PDT 2009
Author: kremenek
Date: Thu Mar 19 19:24:49 2009
New Revision: 67351
URL: http://llvm.org/viewvc/llvm-project?rev=67351&view=rev
Log:
Add accessor Preprocessor::getPTHManager().
Modified:
cfe/trunk/include/clang/Lex/Preprocessor.h
Modified: cfe/trunk/include/clang/Lex/Preprocessor.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/Preprocessor.h?rev=67351&r1=67350&r2=67351&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/Preprocessor.h (original)
+++ cfe/trunk/include/clang/Lex/Preprocessor.h Thu Mar 19 19:24:49 2009
@@ -209,9 +209,10 @@
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.
More information about the cfe-commits
mailing list