summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-31 00:53:21 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-31 00:53:21 +0000
commitb8b16b567c123339dd4fea01170a86daf215a229 (patch)
treef952687d7558c885fafc6e3daa6722e494ad9d51 /llvm/include
parent258c867c0b4fb37b493cdfdba74572f5a0e319c3 (diff)
downloadbcm5719-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.h3
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.
OpenPOWER on IntegriCloud