mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 00:20:25 +00:00
Add the 'explicit' keyword to several constructors that accept one
argument that don't appear intended as implicit-conversion operators. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35280 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -35,7 +35,7 @@ class MachineConstantPoolValue {
|
||||
const Type *Ty;
|
||||
|
||||
public:
|
||||
MachineConstantPoolValue(const Type *ty) : Ty(ty) {}
|
||||
explicit MachineConstantPoolValue(const Type *ty) : Ty(ty) {}
|
||||
virtual ~MachineConstantPoolValue() {};
|
||||
|
||||
/// getType - get type of this MachineConstantPoolValue.
|
||||
|
||||
Reference in New Issue
Block a user