summaryrefslogtreecommitdiff
path: root/include/llvm/IR/Attributes.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-27 23:50:44 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-27 23:50:44 +0000
commit3e3e789aede6ec38d39c95d88ad4e8634d5a259b (patch)
treea20cd5d8a369f01992053d423c6283714b4810f0 /include/llvm/IR/Attributes.h
parent5f33912f91ec2673545a5e000cc7bf7a0ecccdbd (diff)
downloadllvm-3e3e789aede6ec38d39c95d88ad4e8634d5a259b.tar.gz
llvm-3e3e789aede6ec38d39c95d88ad4e8634d5a259b.tar.bz2
llvm-3e3e789aede6ec38d39c95d88ad4e8634d5a259b.tar.xz
Use proper return type for attribute index.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173639 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/IR/Attributes.h')
-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 297abb9648..89a73d6182 100644
--- a/include/llvm/IR/Attributes.h
+++ b/include/llvm/IR/Attributes.h
@@ -353,7 +353,7 @@ public:
unsigned getNumSlots() const;
/// \brief Return the index for the given slot.
- unsigned getSlotIndex(unsigned Slot) const;
+ uint64_t getSlotIndex(unsigned Slot) const;
/// \brief Return the attributes at the given slot.
AttributeSet getSlotAttributes(unsigned Slot) const;