projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd145b3
)
Make InlineSimple's one-arg constructor explicit. NFC
author
Justin Lebar
<jlebar@google.com>
Tue, 29 Mar 2016 16:26:06 +0000
(16:26 +0000)
committer
Justin Lebar
<jlebar@google.com>
Tue, 29 Mar 2016 16:26:06 +0000
(16:26 +0000)
llvm-svn: 264744
llvm/lib/Transforms/IPO/InlineSimple.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/IPO/InlineSimple.cpp
b/llvm/lib/Transforms/IPO/InlineSimple.cpp
index
0dfdcee
..
a70a163
100644
(file)
--- 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());
}