summaryrefslogtreecommitdiff
path: root/lib/Target/MSP430/MSP430MachineFunctionInfo.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-06-05 23:05:51 +0000
committerDan Gohman <gohman@apple.com>2009-06-05 23:05:51 +0000
commit2392efef1bd2599231ab659dd6ba4233bf5df94c (patch)
treeecc257454cf4744d4a99c7ce1e546901aca41e9f /lib/Target/MSP430/MSP430MachineFunctionInfo.h
parentda634298fc5243932274ae261efcd351d5040630 (diff)
downloadllvm-2392efef1bd2599231ab659dd6ba4233bf5df94c.tar.gz
llvm-2392efef1bd2599231ab659dd6ba4233bf5df94c.tar.bz2
llvm-2392efef1bd2599231ab659dd6ba4233bf5df94c.tar.xz
Add explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72969 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430/MSP430MachineFunctionInfo.h')
-rw-r--r--lib/Target/MSP430/MSP430MachineFunctionInfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/MSP430/MSP430MachineFunctionInfo.h b/lib/Target/MSP430/MSP430MachineFunctionInfo.h
index b94d7e44ca..1d26ae3e66 100644
--- a/lib/Target/MSP430/MSP430MachineFunctionInfo.h
+++ b/lib/Target/MSP430/MSP430MachineFunctionInfo.h
@@ -28,7 +28,8 @@ class MSP430MachineFunctionInfo : public MachineFunctionInfo {
public:
MSP430MachineFunctionInfo() : CalleeSavedFrameSize(0) {}
- MSP430MachineFunctionInfo(MachineFunction &MF) : CalleeSavedFrameSize(0) {}
+ explicit MSP430MachineFunctionInfo(MachineFunction &MF)
+ : CalleeSavedFrameSize(0) {}
unsigned getCalleeSavedFrameSize() const { return CalleeSavedFrameSize; }
void setCalleeSavedFrameSize(unsigned bytes) { CalleeSavedFrameSize = bytes; }