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. _______________________________________________ cfe-commits mailing list cfe-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits