diff options
author | Justin Lebar <jlebar@google.com> | 2016-03-29 16:26:06 +0000 |
---|---|---|
committer | Justin Lebar <jlebar@google.com> | 2016-03-29 16:26:06 +0000 |
commit | 3db0b85fc8b0f914934c0f0b4c5eb28b64bd18a9 (patch) | |
tree | 7a0bc57dea9b7d6ada1da42e2536d79bcefb9171 /llvm/lib/Transforms/IPO/InlineSimple.cpp | |
parent | bd145b3cb2efdc119530e241836f6f399a0cdd31 (diff) | |
download | llvm-3db0b85fc8b0f914934c0f0b4c5eb28b64bd18a9.zip llvm-3db0b85fc8b0f914934c0f0b4c5eb28b64bd18a9.tar.gz llvm-3db0b85fc8b0f914934c0f0b4c5eb28b64bd18a9.tar.bz2 |
Make InlineSimple's one-arg constructor explicit. NFC
llvm-svn: 264744
Diffstat (limited to 'llvm/lib/Transforms/IPO/InlineSimple.cpp')
-rw-r--r-- | llvm/lib/Transforms/IPO/InlineSimple.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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()); } |