From: Chris Lattner Date: Fri, 16 Aug 2013 22:29:44 +0000 (+0000) Subject: I'm told that != is not == X-Git-Tag: android-x86-6.0-r1~129^2~2966 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=586ea17be9fbf2fa1f2341900ebf1675a0924edc;p=android-x86%2Fexternal-llvm.git I'm told that != is not == git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188583 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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