[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineInstr.h
Dan Gohman
djg at cray.com
Mon Jun 18 07:11:54 PDT 2007
Changes in directory llvm/include/llvm/CodeGen:
MachineInstr.h updated: 1.222 -> 1.223
---
Log message:
Add keyword explicit.
---
Diffs of the changes: (+1 -1)
MachineInstr.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/include/llvm/CodeGen/MachineInstr.h
diff -u llvm/include/llvm/CodeGen/MachineInstr.h:1.222 llvm/include/llvm/CodeGen/MachineInstr.h:1.223
--- llvm/include/llvm/CodeGen/MachineInstr.h:1.222 Fri Jun 15 14:05:13 2007
+++ llvm/include/llvm/CodeGen/MachineInstr.h Mon Jun 18 09:11:31 2007
@@ -344,7 +344,7 @@
/// MachineInstr ctor - This constructor create a MachineInstr and add the
/// implicit operands. It reserves space for number of operands specified by
/// TargetInstrDescriptor.
- MachineInstr(const TargetInstrDescriptor &TID);
+ explicit MachineInstr(const TargetInstrDescriptor &TID);
/// MachineInstr ctor - Work exactly the same as the ctor above, except that
/// the MachineInstr is created and added to the end of the specified basic
More information about the llvm-commits
mailing list