Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
llvm.7809
backport-llvm-r219069
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File backport-llvm-r219069 of Package llvm.7809
------------------------------------------------------------------------ r219069 | d0k | 2014-10-05 00:44:35 +0200 (Sun, 05 Oct 2014) | 1 line [SystemZ] Make operator bool explicit. NFC. ------------------------------------------------------------------------ Index: lib/Target/SystemZ/SystemZInstrInfo.cpp =================================================================== --- lib/Target/SystemZ/SystemZInstrInfo.cpp.orig +++ 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; }; Index: lib/Target/SystemZ/SystemZElimCompare.cpp =================================================================== --- lib/Target/SystemZ/SystemZElimCompare.cpp.orig +++ 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.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor