aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-11-03 19:40:18 +0000
committerDan Gohman <gohman@apple.com>2008-11-03 19:40:18 +0000
commit20cd13f54f2b1a6307016c47330045de13b140e2 (patch)
treea578b8c1f00e60ef4785a67d6f6ace411c419ed4 /include
parent265ca5dff5ad21add569fadab435f64423861793 (diff)
downloadexternal_llvm-20cd13f54f2b1a6307016c47330045de13b140e2.zip
external_llvm-20cd13f54f2b1a6307016c47330045de13b140e2.tar.gz
external_llvm-20cd13f54f2b1a6307016c47330045de13b140e2.tar.bz2
Overload AddInteger on int/long/long long instead of on int/int64_t,
to avoid overload ambiguities. This fixes build errors introduced by r58623. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58632 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/ADT/FoldingSet.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/llvm/ADT/FoldingSet.h b/include/llvm/ADT/FoldingSet.h
index dbf10aa..f25697c 100644
--- a/include/llvm/ADT/FoldingSet.h
+++ b/include/llvm/ADT/FoldingSet.h
@@ -221,8 +221,10 @@ public:
void AddPointer(const void *Ptr);
void AddInteger(signed I);
void AddInteger(unsigned I);
- void AddInteger(int64_t I);
- void AddInteger(uint64_t I);
+ void AddInteger(long I);
+ void AddInteger(unsigned long I);
+ void AddInteger(long long I);
+ void AddInteger(unsigned long long I);
void AddFloat(float F);
void AddDouble(double D);
void AddString(const std::string &String);