diff options
| author | Bill Wendling <isanbard@gmail.com> | 2013-01-31 00:53:21 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2013-01-31 00:53:21 +0000 |
| commit | b8b16b567c123339dd4fea01170a86daf215a229 (patch) | |
| tree | f952687d7558c885fafc6e3daa6722e494ad9d51 /llvm/include | |
| parent | 258c867c0b4fb37b493cdfdba74572f5a0e319c3 (diff) | |
| download | bcm5719-llvm-b8b16b567c123339dd4fea01170a86daf215a229.tar.gz bcm5719-llvm-b8b16b567c123339dd4fea01170a86daf215a229.zip | |
Remove the AttrBuilder version of the Attribute::get function.
The AttrBuilder is there to build up multiple attributes. The Attribute class
represents only one attribute at a time. So remove this unnecessary builder
creator method.
llvm-svn: 174010
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/IR/Attributes.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/include/llvm/IR/Attributes.h b/llvm/include/llvm/IR/Attributes.h index 29eaec1d0df..f53cfd6a080 100644 --- a/llvm/include/llvm/IR/Attributes.h +++ b/llvm/include/llvm/IR/Attributes.h @@ -113,8 +113,7 @@ public: //===--------------------------------------------------------------------===// /// \brief Return a uniquified Attribute object. - static Attribute get(LLVMContext &Context, AttrKind Kind); - static Attribute get(LLVMContext &Context, AttrBuilder &B); + static Attribute get(LLVMContext &Context, AttrKind Kind, Constant *Val = 0); /// \brief Return a uniquified Attribute object that has the specific /// alignment set. |

