From 33c37b9b87453c835cd0e32a4a65db329da20356 Mon Sep 17 00:00:00 2001 From: Zhongxing Xu Date: Wed, 6 May 2009 11:48:29 +0000 Subject: [PATCH] add getTargetInfo() method to ASTContext. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71079 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/ASTContext.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/clang/AST/ASTContext.h b/include/clang/AST/ASTContext.h index 4c80baa2c8..4749044bab 100644 --- a/include/clang/AST/ASTContext.h +++ b/include/clang/AST/ASTContext.h @@ -205,6 +205,8 @@ public: /// with this AST context, if any. ExternalASTSource *getExternalSource() const { return ExternalSource.get(); } + TargetInfo& getTargetInfo() const { return Target; } + void PrintStats() const; const std::vector& getTypes() const { return Types; } -- 2.40.0