From 3db0b85fc8b0f914934c0f0b4c5eb28b64bd18a9 Mon Sep 17 00:00:00 2001 From: Justin Lebar Date: Tue, 29 Mar 2016 16:26:06 +0000 Subject: [PATCH] Make InlineSimple's one-arg constructor explicit. NFC llvm-svn: 264744 --- llvm/lib/Transforms/IPO/InlineSimple.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/lib/Transforms/IPO/InlineSimple.cpp b/llvm/lib/Transforms/IPO/InlineSimple.cpp index 0dfdcee..a70a163 100644 --- a/llvm/lib/Transforms/IPO/InlineSimple.cpp +++ b/llvm/lib/Transforms/IPO/InlineSimple.cpp @@ -50,7 +50,8 @@ public: initializeSimpleInlinerPass(*PassRegistry::getPassRegistry()); } - SimpleInliner(int Threshold) : Inliner(ID), DefaultThreshold(Threshold) { + explicit SimpleInliner(int Threshold) + : Inliner(ID), DefaultThreshold(Threshold) { initializeSimpleInlinerPass(*PassRegistry::getPassRegistry()); } -- 2.7.4