projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03c8383
)
Disambiguate call to operator==.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Sat, 19 May 2012 19:32:11 +0000
(19:32 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Sat, 19 May 2012 19:32:11 +0000
(19:32 +0000)
clang++ and msvc happily had no problem with it but g++ refuses to compile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157126
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/ValueMap.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/ValueMap.h
b/include/llvm/ADT/ValueMap.h
index 121abc2b65f7ae4465bc7cd97197f7eaba8ac323..f7e255181e2333d506fe59e6ea47bea7d50e25a9 100644
(file)
--- a/
include/llvm/ADT/ValueMap.h
+++ b/
include/llvm/ADT/ValueMap.h
@@
-269,7
+269,7
@@
struct DenseMapInfo<ValueMapCallbackVH<KeyT, ValueT, Config> > {
return LHS == RHS;
}
static bool isEqual(const KeyT &LHS, const VH &RHS) {
- return LHS == RHS;
+ return LHS == RHS
.getValPtr()
;
}
};