summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/utils/yaml2obj/yaml2obj.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/yaml2obj/yaml2obj.cpp b/llvm/utils/yaml2obj/yaml2obj.cpp
index eecf574348f..c3b3e5499cd 100644
--- a/llvm/utils/yaml2obj/yaml2obj.cpp
+++ b/llvm/utils/yaml2obj/yaml2obj.cpp
@@ -91,7 +91,7 @@ struct hex_pair_iterator {
}
bool operator ==(const hex_pair_iterator Other) {
- return (IsDone == Other.IsDone == true) ||
+ return (IsDone == Other.IsDone) ||
(Current == Other.Current && End == Other.End);
}
OpenPOWER on IntegriCloud