summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/ExtractFunction.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-08-01 15:32:29 +0000
committerDan Gohman <gohman@apple.com>2007-08-01 15:32:29 +0000
commit34d442f27474594f2637972ad27e89ece6011704 (patch)
tree2fccec2e14b7f09d83d58a4bac1ca50ce606763e /llvm/lib/Transforms/IPO/ExtractFunction.cpp
parentd541c831c3d384e99a3aca0a9c3b06326f89fa1b (diff)
downloadbcm5719-llvm-34d442f27474594f2637972ad27e89ece6011704.tar.gz
bcm5719-llvm-34d442f27474594f2637972ad27e89ece6011704.zip
More explicit keywords.
llvm-svn: 40673
Diffstat (limited to 'llvm/lib/Transforms/IPO/ExtractFunction.cpp')
-rw-r--r--llvm/lib/Transforms/IPO/ExtractFunction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/IPO/ExtractFunction.cpp b/llvm/lib/Transforms/IPO/ExtractFunction.cpp
index 8d6af4176e6..ed22465f890 100644
--- a/llvm/lib/Transforms/IPO/ExtractFunction.cpp
+++ b/llvm/lib/Transforms/IPO/ExtractFunction.cpp
@@ -31,8 +31,8 @@ namespace {
/// specified function. Otherwise, it deletes as much of the module as
/// possible, except for the function specified.
///
- FunctionExtractorPass(Function *F = 0, bool deleteFn = true,
- bool relinkCallees = false)
+ explicit FunctionExtractorPass(Function *F = 0, bool deleteFn = true,
+ bool relinkCallees = false)
: ModulePass((intptr_t)&ID), Named(F), deleteFunc(deleteFn),
reLink(relinkCallees) {}
OpenPOWER on IntegriCloud