summaryrefslogtreecommitdiff
path: root/include/llvm/IR/Attributes.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-28 05:51:40 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-28 05:51:40 +0000
commit19d815c04fde6b7b53c2b542813157edfa213842 (patch)
tree6ae78f70fa2686703b06cd3236157d596e4a40cb /include/llvm/IR/Attributes.h
parent98b92f3bf5770e02498549e24b3db75d5862c173 (diff)
downloadllvm-19d815c04fde6b7b53c2b542813157edfa213842.tar.gz
llvm-19d815c04fde6b7b53c2b542813157edfa213842.tar.bz2
llvm-19d815c04fde6b7b53c2b542813157edfa213842.tar.xz
Mid-air collision. reapply r173656.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173661 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/IR/Attributes.h')
-rw-r--r--include/llvm/IR/Attributes.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/IR/Attributes.h b/include/llvm/IR/Attributes.h
index 63f9d08837..e6de2bf50b 100644
--- a/include/llvm/IR/Attributes.h
+++ b/include/llvm/IR/Attributes.h
@@ -287,19 +287,19 @@ public:
AttributeSet getFnAttributes() const;
/// \brief Return true if the attribute exists at the given index.
- bool hasAttribute(uint64_t Index, Attribute::AttrKind Kind) const;
+ bool hasAttribute(unsigned Index, Attribute::AttrKind Kind) const;
/// \brief Return true if attribute exists at the given index.
- bool hasAttributes(uint64_t Index) const;
+ bool hasAttributes(unsigned Index) const;
/// \brief Return the alignment for the specified function parameter.
- unsigned getParamAlignment(uint64_t Idx) const;
+ unsigned getParamAlignment(unsigned Idx) const;
/// \brief Get the stack alignment.
- unsigned getStackAlignment(uint64_t Index) const;
+ unsigned getStackAlignment(unsigned Index) const;
/// \brief Return the attributes at the index as a string.
- std::string getAsString(uint64_t Index) const;
+ std::string getAsString(unsigned Index) const;
uint64_t Raw(unsigned Index) const;