summaryrefslogtreecommitdiff
path: root/include/llvm/ADT/FoldingSet.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-09-14 20:48:42 +0000
committerDan Gohman <gohman@apple.com>2007-09-14 20:48:42 +0000
commitf82e1e66cec02ecfa3c83c165bce6a2780c77914 (patch)
treed9929065c408e4b068957f71219661fc819bfe10 /include/llvm/ADT/FoldingSet.h
parent99da4e719c347c07d21782e628459bc4f222456f (diff)
downloadllvm-f82e1e66cec02ecfa3c83c165bce6a2780c77914.tar.gz
llvm-f82e1e66cec02ecfa3c83c165bce6a2780c77914.tar.bz2
llvm-f82e1e66cec02ecfa3c83c165bce6a2780c77914.tar.xz
And an FoldingSetImpl::NodeID::AddInteger overload for int64_t, to avoid
ambiguity. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41960 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/FoldingSet.h')
-rw-r--r--include/llvm/ADT/FoldingSet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/ADT/FoldingSet.h b/include/llvm/ADT/FoldingSet.h
index d88a814242..155243a627 100644
--- a/include/llvm/ADT/FoldingSet.h
+++ b/include/llvm/ADT/FoldingSet.h
@@ -149,6 +149,7 @@ 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 AddFloat(float F);
void AddDouble(double D);