[llvm-commits] [llvm] r60457 - /llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h
Dan Gohman
gohman at apple.com
Tue Dec 2 17:55:48 PST 2008
Author: djg
Date: Tue Dec 2 19:55:47 2008
New Revision: 60457
URL: http://llvm.org/viewvc/llvm-project?rev=60457&view=rev
Log:
Add an explicit keyword.
Modified:
llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h
Modified: llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h?rev=60457&r1=60456&r2=60457&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h Tue Dec 2 19:55:47 2008
@@ -178,7 +178,7 @@
///
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;
More information about the llvm-commits
mailing list