summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/CFGPrinter.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-07-02 14:53:37 +0000
committerDan Gohman <gohman@apple.com>2007-07-02 14:53:37 +0000
commit1eb8ed47f5dbd6d5c3b86532f509e12581590311 (patch)
tree6872d52a607dd02f017b3f74482cea5eb7ff3097 /llvm/lib/Analysis/CFGPrinter.cpp
parentbf61346b1c8486922fe6d8ef61c7c8adf6ae296a (diff)
downloadbcm5719-llvm-1eb8ed47f5dbd6d5c3b86532f509e12581590311.tar.gz
bcm5719-llvm-1eb8ed47f5dbd6d5c3b86532f509e12581590311.zip
Add explicit keywords.
llvm-svn: 37839
Diffstat (limited to 'llvm/lib/Analysis/CFGPrinter.cpp')
-rw-r--r--llvm/lib/Analysis/CFGPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/CFGPrinter.cpp b/llvm/lib/Analysis/CFGPrinter.cpp
index 74666664d88..d32481e7f3b 100644
--- a/llvm/lib/Analysis/CFGPrinter.cpp
+++ b/llvm/lib/Analysis/CFGPrinter.cpp
@@ -135,7 +135,7 @@ namespace {
struct VISIBILITY_HIDDEN CFGPrinter : public FunctionPass {
static char ID; // Pass identification, replacement for typeid
CFGPrinter() : FunctionPass((intptr_t)&ID) {}
- CFGPrinter(intptr_t pid) : FunctionPass(pid) {}
+ explicit CFGPrinter(intptr_t pid) : FunctionPass(pid) {}
virtual bool runOnFunction(Function &F) {
std::string Filename = "cfg." + F.getName() + ".dot";
OpenPOWER on IntegriCloud