diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-05-06 11:48:29 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-05-06 11:48:29 +0000 |
commit | bc3864829d6bb309abef3957a06c3216d963e23c (patch) | |
tree | 3f95f73c757c0f9e4bb2a9a4d56154e6b725c50f | |
parent | 2338f6c57e3ceb848c99d34fd22eef05b779a1ff (diff) | |
download | bcm5719-llvm-bc3864829d6bb309abef3957a06c3216d963e23c.tar.gz bcm5719-llvm-bc3864829d6bb309abef3957a06c3216d963e23c.zip |
add getTargetInfo() method to ASTContext.
llvm-svn: 71079
-rw-r--r-- | clang/include/clang/AST/ASTContext.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/include/clang/AST/ASTContext.h b/clang/include/clang/AST/ASTContext.h index 4c80baa2c8f..4749044babc 100644 --- a/clang/include/clang/AST/ASTContext.h +++ b/clang/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<Type*>& getTypes() const { return Types; } |