aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/IR
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-26 00:03:11 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-26 00:03:11 +0000
commit32a57958226e369f964a034da2ce7083a1a34297 (patch)
tree2ad83b052cae7d24eb93812e56e45ab38ed6e339 /include/llvm/IR
parent2fde57c1d1e4a78ed4095b886d731053df07e4b9 (diff)
downloadexternal_llvm-32a57958226e369f964a034da2ce7083a1a34297.zip
external_llvm-32a57958226e369f964a034da2ce7083a1a34297.tar.gz
external_llvm-32a57958226e369f964a034da2ce7083a1a34297.tar.bz2
Convert BuildLibCalls.cpp to using the AttributeSet methods instead of AttributeWithIndex.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173536 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/IR')
-rw-r--r--include/llvm/IR/Attributes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/IR/Attributes.h b/include/llvm/IR/Attributes.h
index 0a8df8c..bd0a87e 100644
--- a/include/llvm/IR/Attributes.h
+++ b/include/llvm/IR/Attributes.h
@@ -224,7 +224,7 @@ public:
static AttributeSet get(LLVMContext &C, ArrayRef<AttributeWithIndex> Attrs);
static AttributeSet get(LLVMContext &C, ArrayRef<AttributeSet> Attrs);
static AttributeSet get(LLVMContext &C, unsigned Idx,
- Attribute::AttrKind Kind);
+ ArrayRef<Attribute::AttrKind> Kind);
static AttributeSet get(LLVMContext &C, unsigned Idx, AttrBuilder &B);
/// \brief Add an attribute to the attribute set at the given index. Since