diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-02-10 05:00:40 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-02-10 05:00:40 +0000 |
commit | 85b3fbecdfe934ac7519a8831c4bd262cba99d12 (patch) | |
tree | cd8cd8845931210756b75ae747257b4979087a98 /include | |
parent | 7dcb23a0522eb23c3a50f6c8249f10ccdf214993 (diff) | |
download | external_llvm-85b3fbecdfe934ac7519a8831c4bd262cba99d12.zip external_llvm-85b3fbecdfe934ac7519a8831c4bd262cba99d12.tar.gz external_llvm-85b3fbecdfe934ac7519a8831c4bd262cba99d12.tar.bz2 |
Add accessor for the LLVMContext.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174824 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/IR/Attributes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/IR/Attributes.h b/include/llvm/IR/Attributes.h index a5539cc..38f4ed9 100644 --- a/include/llvm/IR/Attributes.h +++ b/include/llvm/IR/Attributes.h @@ -286,6 +286,9 @@ public: // AttributeSet Accessors //===--------------------------------------------------------------------===// + /// \brief Retrieve the LLVM context. + LLVMContext &getContext() const; + /// \brief The attributes for the specified index are returned. AttributeSet getParamAttributes(unsigned Idx) const; |