projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55499db
)
Remove redundant '== true' after a comparison.
author
Richard Trieu
<rtrieu@google.com>
Thu, 2 Aug 2012 23:22:39 +0000
(23:22 +0000)
committer
Richard Trieu
<rtrieu@google.com>
Thu, 2 Aug 2012 23:22:39 +0000
(23:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161223
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/yaml2obj/yaml2obj.cpp
patch
|
blob
|
history
diff --git
a/utils/yaml2obj/yaml2obj.cpp
b/utils/yaml2obj/yaml2obj.cpp
index eecf574348ff5bdfe957636ef3e6e0818e387dca..c3b3e5499cded06a4d4038abe9324ede265dc3bc 100644
(file)
--- a/
utils/yaml2obj/yaml2obj.cpp
+++ b/
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);
}