aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/CodeGenPrepare.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Transforms/Scalar/CodeGenPrepare.cpp')
-rw-r--r--lib/Transforms/Scalar/CodeGenPrepare.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/CodeGenPrepare.cpp b/lib/Transforms/Scalar/CodeGenPrepare.cpp
index 2969df38a6..ddc0007c00 100644
--- a/lib/Transforms/Scalar/CodeGenPrepare.cpp
+++ b/lib/Transforms/Scalar/CodeGenPrepare.cpp
@@ -40,8 +40,8 @@ namespace {
const TargetLowering *TLI;
public:
static char ID; // Pass identification, replacement for typeid
- CodeGenPrepare(const TargetLowering *tli = 0) : FunctionPass((intptr_t)&ID),
- TLI(tli) {}
+ explicit CodeGenPrepare(const TargetLowering *tli = 0)
+ : FunctionPass((intptr_t)&ID), TLI(tli) {}
bool runOnFunction(Function &F);
private: