Add an explicit keyword.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60457 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2008-12-03 01:55:47 +00:00
parent 92faff2e4c
commit 03e7d834d5

View File

@ -178,7 +178,7 @@ class MachineFrameInfo {
///
const TargetFrameInfo &TFI;
public:
MachineFrameInfo(const TargetFrameInfo &tfi) : TFI(tfi) {
explicit MachineFrameInfo(const TargetFrameInfo &tfi) : TFI(tfi) {
StackSize = NumFixedObjects = OffsetAdjustment = MaxAlignment = 0;
HasVarSizedObjects = false;
FrameAddressTaken = false;