aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/MSP430
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
commit54eb122908fc4476bdf45267d552dac1685a43ee (patch)
treeecc257454cf4744d4a99c7ce1e546901aca41e9f /lib/Target/MSP430
parent3b9911f43bca3428e1564abd6f35c6d41a369875 (diff)
downloadexternal_llvm-54eb122908fc4476bdf45267d552dac1685a43ee.zip
external_llvm-54eb122908fc4476bdf45267d552dac1685a43ee.tar.gz
external_llvm-54eb122908fc4476bdf45267d552dac1685a43ee.tar.bz2
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')
-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 b94d7e4..1d26ae3 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; }