OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b282085
)
I'm told that != is not ==
author
Chris Lattner
<sabre@nondot.org>
Fri, 16 Aug 2013 22:29:44 +0000
(22:29 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 16 Aug 2013 22:29:44 +0000
(22:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188583
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/PointerUnion.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/PointerUnion.h
b/include/llvm/ADT/PointerUnion.h
index
045cf2b
..
4eed121
100644
(file)
--- a/
include/llvm/ADT/PointerUnion.h
+++ b/
include/llvm/ADT/PointerUnion.h
@@
-185,7
+185,7
@@
namespace llvm {
template<typename PT1, typename PT2>
static bool operator!=(PointerUnion<PT1, PT2> lhs,
PointerUnion<PT1, PT2> rhs) {
- return lhs.getOpaqueValue()
=
= rhs.getOpaqueValue();
+ return lhs.getOpaqueValue()
!
= rhs.getOpaqueValue();
}
// Teach SmallPtrSet that PointerUnion is "basically a pointer", that has