diff options
author | Dan Gohman <gohman@apple.com> | 2008-01-29 11:36:12 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-01-29 11:36:12 +0000 |
commit | 1327f69d98a2cb527b275ffc93080cf31ddf6dc5 (patch) | |
tree | 3ead7a448048e2627c78dcc53fa45113d143ee96 /include/llvm/CodeGen/MachineOperand.h | |
parent | 103e2d760f3fb81d426319389106a8aeb21a584d (diff) |
Add explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46506 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineOperand.h')
-rw-r--r-- | include/llvm/CodeGen/MachineOperand.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineOperand.h b/include/llvm/CodeGen/MachineOperand.h index a782ff538c..7fb2b9e767 100644 --- a/include/llvm/CodeGen/MachineOperand.h +++ b/include/llvm/CodeGen/MachineOperand.h @@ -97,7 +97,7 @@ private: } OffsetedInfo; } Contents; - MachineOperand(MachineOperandType K) : OpKind(K), ParentMI(0) {} + explicit MachineOperand(MachineOperandType K) : OpKind(K), ParentMI(0) {} public: MachineOperand(const MachineOperand &M) { *this = M; |