From 586ea17be9fbf2fa1f2341900ebf1675a0924edc Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 16 Aug 2013 22:29:44 +0000 Subject: [PATCH] I'm told that != is not == git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188583 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/PointerUnion.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/ADT/PointerUnion.h b/include/llvm/ADT/PointerUnion.h index 045cf2bd2ed..4eed121ed39 100644 --- a/include/llvm/ADT/PointerUnion.h +++ b/include/llvm/ADT/PointerUnion.h @@ -185,7 +185,7 @@ namespace llvm { template static bool operator!=(PointerUnion lhs, PointerUnion rhs) { - return lhs.getOpaqueValue() == rhs.getOpaqueValue(); + return lhs.getOpaqueValue() != rhs.getOpaqueValue(); } // Teach SmallPtrSet that PointerUnion is "basically a pointer", that has -- 2.11.0