diff options
author | Chris Lattner <sabre@nondot.org> | 2013-08-16 22:29:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2013-08-16 22:29:44 +0000 |
commit | 586ea17be9fbf2fa1f2341900ebf1675a0924edc (patch) | |
tree | 7617315f95bc5a58c711ea769c8f55ea72aa7f1b /include | |
parent | b2820859240b8b8ad03384207ce896da60702f98 (diff) | |
download | external_llvm-586ea17be9fbf2fa1f2341900ebf1675a0924edc.zip external_llvm-586ea17be9fbf2fa1f2341900ebf1675a0924edc.tar.gz external_llvm-586ea17be9fbf2fa1f2341900ebf1675a0924edc.tar.bz2 |
I'm told that != is not ==
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188583 91177308-0d34-0410-b5e6-96231b3b80d8
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 |