summaryrefslogtreecommitdiff
path: root/lib/Target/SystemZ/SystemZInstrInfo.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2014-10-04 22:44:35 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2014-10-04 22:44:35 +0000
commit3cdf75c5cf1eb16dbac52b33c4aa944218ca66ab (patch)
tree41c15a0c0302a9f550f4d4ff82222f6666c41bcd /lib/Target/SystemZ/SystemZInstrInfo.cpp
parent814a2ffc7cbd15382a9e60164fba7eb1f9e3a45e (diff)
downloadllvm-3cdf75c5cf1eb16dbac52b33c4aa944218ca66ab.tar.gz
[SystemZ] Make operator bool explicit. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219069 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZInstrInfo.cpp')
-rw-r--r--lib/Target/SystemZ/SystemZInstrInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/SystemZ/SystemZInstrInfo.cpp b/lib/Target/SystemZ/SystemZInstrInfo.cpp
index f58ab474fbbc..8ff9553ca081 100644
--- a/lib/Target/SystemZ/SystemZInstrInfo.cpp
+++ b/lib/Target/SystemZ/SystemZInstrInfo.cpp
@@ -633,7 +633,7 @@ struct LogicOp {
LogicOp(unsigned regSize, unsigned immLSB, unsigned immSize)
: RegSize(regSize), ImmLSB(immLSB), ImmSize(immSize) {}
- operator bool() const { return RegSize; }
+ LLVM_EXPLICIT operator bool() const { return RegSize; }
unsigned RegSize, ImmLSB, ImmSize;
};