aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-28 22:33:39 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-28 22:33:39 +0000
commit6bdbf061c353295669b6bfc271b948158602d1bc (patch)
treebb94c13dfe0a7d8f11d5b7c283c4c7594bed438c /include
parentfcb979ca1a087c0a47123d1dc40c42cb2353bada (diff)
downloadexternal_llvm-6bdbf061c353295669b6bfc271b948158602d1bc.zip
external_llvm-6bdbf061c353295669b6bfc271b948158602d1bc.tar.gz
external_llvm-6bdbf061c353295669b6bfc271b948158602d1bc.tar.bz2
Try to appease some broken compilers by using 'unsigned' instead of 'uint64_t'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173725 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/IR/Attributes.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/IR/Attributes.h b/include/llvm/IR/Attributes.h
index 46a4444..15b664c 100644
--- a/include/llvm/IR/Attributes.h
+++ b/include/llvm/IR/Attributes.h
@@ -108,7 +108,7 @@ public:
Attribute() : pImpl(0) {}
/// \brief Return a uniquified Attribute object.
- static Attribute get(LLVMContext &Context, ArrayRef<AttrKind> Kinds);
+ static Attribute get(LLVMContext &Context, AttrKind Kind);
static Attribute get(LLVMContext &Context, AttrBuilder &B);
/// \brief Return a uniquified Attribute object that has the specific
@@ -203,13 +203,13 @@ private:
/// \brief Create an AttributeSet with the specified parameters in it.
static AttributeSet get(LLVMContext &C,
- ArrayRef<std::pair<uint64_t, Attribute> > Attrs);
+ ArrayRef<std::pair<unsigned, Attribute> > Attrs);
static AttributeSet get(LLVMContext &C,
- ArrayRef<std::pair<uint64_t,
+ ArrayRef<std::pair<unsigned,
AttributeSetNode*> > Attrs);
static AttributeSet getImpl(LLVMContext &C,
- ArrayRef<std::pair<uint64_t,
+ ArrayRef<std::pair<unsigned,
AttributeSetNode*> > Attrs);