projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SystemZ] Make operator bool explicit. NFC.
[oota-llvm.git]
/
lib
/
Target
/
SystemZ
/
SystemZElimCompare.cpp
diff --git
a/lib/Target/SystemZ/SystemZElimCompare.cpp
b/lib/Target/SystemZ/SystemZElimCompare.cpp
index 1ea02984f3d10e03c06caae12ad979c1817dcc75..ce99ee5bc41270fbabaeaf04a40f186b7f41c333 100644
(file)
--- a/
lib/Target/SystemZ/SystemZElimCompare.cpp
+++ b/
lib/Target/SystemZ/SystemZElimCompare.cpp
@@
-47,7
+47,7
@@
struct Reference {
return *this;
}
- operator bool() const { return Def || Use; }
+
LLVM_EXPLICIT
operator bool() const { return Def || Use; }
// True if the register is defined or used in some form, either directly or
// via a sub- or super-register.