aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/ELFWriter.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-12-14 15:41:34 +0000
committerDan Gohman <gohman@apple.com>2007-12-14 15:41:34 +0000
commitded2b0d0fb0d4fa09198e3d05da529d2c97214c3 (patch)
treec7889a60dd3e88fd586f792cf4ae9474fb705576 /lib/CodeGen/ELFWriter.cpp
parent064a57a77d1a146a0efa98bdf64b0355dd9c391f (diff)
Add explicit keywords, and fix a minor typo that they uncovered.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45034 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ELFWriter.cpp')
-rw-r--r--lib/CodeGen/ELFWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/ELFWriter.cpp b/lib/CodeGen/ELFWriter.cpp
index efdf029c4a..d054adb9de 100644
--- a/lib/CodeGen/ELFWriter.cpp
+++ b/lib/CodeGen/ELFWriter.cpp
@@ -72,7 +72,7 @@ namespace llvm {
std::vector<unsigned char> *OutBuffer;
size_t FnStart;
public:
- ELFCodeEmitter(ELFWriter &ew) : EW(ew), TM(EW.TM), OutBuffer(0) {}
+ explicit ELFCodeEmitter(ELFWriter &ew) : EW(ew), TM(EW.TM), OutBuffer(0) {}
void startFunction(MachineFunction &F);
bool finishFunction(MachineFunction &F);