projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1a8787
)
Add keyword explicit.
author
Dan Gohman
<gohman@apple.com>
Mon, 18 Jun 2007 14:11:31 +0000
(14:11 +0000)
committer
Dan Gohman
<gohman@apple.com>
Mon, 18 Jun 2007 14:11:31 +0000
(14:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37624
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/MachineInstr.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/MachineInstr.h
b/include/llvm/CodeGen/MachineInstr.h
index 55e439e159965971f295c869ddb632709d80ea30..1f621c116ed92f4a8abbd49acd6a3bcf17945da7 100644
(file)
--- a/
include/llvm/CodeGen/MachineInstr.h
+++ b/
include/llvm/CodeGen/MachineInstr.h
@@
-344,7
+344,7
@@
public:
/// 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