Make InlineSimple's one-arg constructor explicit. NFC
authorJustin Lebar <jlebar@google.com>
Tue, 29 Mar 2016 16:26:06 +0000 (16:26 +0000)
committerJustin Lebar <jlebar@google.com>
Tue, 29 Mar 2016 16:26:06 +0000 (16:26 +0000)
llvm-svn: 264744

llvm/lib/Transforms/IPO/InlineSimple.cpp

index 0dfdcee..a70a163 100644 (file)
@@ -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());
   }