[cfe-commits] r71079 - /cfe/trunk/include/clang/AST/ASTContext.h

Zhongxing Xu xuzhongxing at gmail.com
Wed May 6 04:48:33 PDT 2009


Author: zhongxingxu
Date: Wed May  6 06:48:29 2009
New Revision: 71079

URL: http://llvm.org/viewvc/llvm-project?rev=71079&view=rev
Log:
add getTargetInfo() method to ASTContext.

Modified:
    cfe/trunk/include/clang/AST/ASTContext.h

Modified: cfe/trunk/include/clang/AST/ASTContext.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/ASTContext.h?rev=71079&r1=71078&r2=71079&view=diff

==============================================================================
--- cfe/trunk/include/clang/AST/ASTContext.h (original)
+++ cfe/trunk/include/clang/AST/ASTContext.h Wed May  6 06:48:29 2009
@@ -205,6 +205,8 @@
   /// with this AST context, if any.
   ExternalASTSource *getExternalSource() const { return ExternalSource.get(); }
 
+  TargetInfo& getTargetInfo() const { return Target; }
+
   void PrintStats() const;
   const std::vector<Type*>& getTypes() const { return Types; }
   





More information about the cfe-commits mailing list