diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/ADT/PointerUnion.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/PointerUnion.h b/include/llvm/ADT/PointerUnion.h index 045cf2b..4eed121 100644 --- 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 |