]> granicus.if.org Git - clang/commitdiff
Add accessor Preprocessor::getPTHManager().
authorTed Kremenek <kremenek@apple.com>
Fri, 20 Mar 2009 00:24:49 +0000 (00:24 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 20 Mar 2009 00:24:49 +0000 (00:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67351 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Lex/Preprocessor.h

index 17e2c2f8a02607a5d12ad93efa1bfb5037030a94..7e03d196c409f9759b6e578df896617ad441cb1c 100644 (file)
@@ -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.