aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-08-27 14:50:10 +0000
committerDan Gohman <gohman@apple.com>2007-08-27 14:50:10 +0000
commit81975f6dfd9d306d0ea7ce3ef22561c949de9af9 (patch)
tree2b8455fcfeb1001c9ec750f004fcb2acbae484fc /include/llvm/Target
parent6b83b5d1ae07dcd1c5987f7548ed2cf4be73b6a1 (diff)
downloadexternal_llvm-81975f6dfd9d306d0ea7ce3ef22561c949de9af9.tar.gz
external_llvm-81975f6dfd9d306d0ea7ce3ef22561c949de9af9.tar.bz2
external_llvm-81975f6dfd9d306d0ea7ce3ef22561c949de9af9.zip
Add explicit keywords and remove spurious trailing semicolons.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41482 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target')
-rw-r--r--include/llvm/Target/TargetELFWriterInfo.h2
-rw-r--r--include/llvm/Target/TargetLowering.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetELFWriterInfo.h b/include/llvm/Target/TargetELFWriterInfo.h
index a8332dfd8d..ba44f4adba 100644
--- a/include/llvm/Target/TargetELFWriterInfo.h
+++ b/include/llvm/Target/TargetELFWriterInfo.h
@@ -32,7 +32,7 @@ namespace llvm {
EM_386 = 3
};
- TargetELFWriterInfo(MachineType machine) : EMachine(machine) {}
+ explicit TargetELFWriterInfo(MachineType machine) : EMachine(machine) {}
virtual ~TargetELFWriterInfo() {}
unsigned short getEMachine() const { return EMachine; }
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index f566038e4c..ed97a93b44 100644
--- a/include/llvm/Target/TargetLowering.h
+++ b/include/llvm/Target/TargetLowering.h
@@ -844,7 +844,7 @@ public:
bool isByVal;
ArgListEntry() : isSExt(false), isZExt(false), isInReg(false),
- isSRet(false), isNest(false), isByVal(false) { };
+ isSRet(false), isNest(false), isByVal(false) { }
};
typedef std::vector<ArgListEntry> ArgListTy;
virtual std::pair<SDOperand, SDOperand>