summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-11-19 15:30:20 +0000
committerDan Gohman <gohman@apple.com>2007-11-19 15:30:20 +0000
commitd32081002e0412658e61936732f0f2ab456e61e9 (patch)
tree101501c67de7b0d348113fd52eb6cb5e0ae258e2 /llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
parent36347a26f90d0db69a65230f1dc3497498393ca6 (diff)
downloadbcm5719-llvm-d32081002e0412658e61936732f0f2ab456e61e9.tar.gz
bcm5719-llvm-d32081002e0412658e61936732f0f2ab456e61e9.zip
Add explicit keywords.
llvm-svn: 44234
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp')
-rw-r--r--llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
index 8de7ffb2db2..57512045e03 100644
--- a/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
+++ b/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
@@ -20,7 +20,8 @@ namespace {
std::ostream &Out; // ostream to print on
public:
static char ID; // Pass identifcation, replacement for typeid
- WriteBitcodePass(std::ostream &o) : ModulePass((intptr_t) &ID), Out(o) {}
+ explicit WriteBitcodePass(std::ostream &o)
+ : ModulePass((intptr_t) &ID), Out(o) {}
const char *getPassName() const { return "Bitcode Writer"; }
OpenPOWER on IntegriCloud