diff options
Diffstat (limited to 'lib/Transforms/Utils')
-rw-r--r-- | lib/Transforms/Utils/LowerAllocations.cpp | 2 | ||||
-rw-r--r-- | lib/Transforms/Utils/LowerInvoke.cpp | 4 | ||||
-rw-r--r-- | lib/Transforms/Utils/LowerSelect.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/Transforms/Utils/LowerAllocations.cpp b/lib/Transforms/Utils/LowerAllocations.cpp index 7ce247909c..edc4c8a96f 100644 --- a/lib/Transforms/Utils/LowerAllocations.cpp +++ b/lib/Transforms/Utils/LowerAllocations.cpp @@ -37,7 +37,7 @@ namespace { bool LowerMallocArgToInteger; public: static char ID; // Pass ID, replacement for typeid - LowerAllocations(bool LowerToInt = false) + explicit LowerAllocations(bool LowerToInt = false) : BasicBlockPass((intptr_t)&ID), MallocFunc(0), FreeFunc(0), LowerMallocArgToInteger(LowerToInt) {} diff --git a/lib/Transforms/Utils/LowerInvoke.cpp b/lib/Transforms/Utils/LowerInvoke.cpp index 551ca7fcbd..ba0363594b 100644 --- a/lib/Transforms/Utils/LowerInvoke.cpp +++ b/lib/Transforms/Utils/LowerInvoke.cpp @@ -76,8 +76,8 @@ namespace { public: static char ID; // Pass identification, replacement for typeid - LowerInvoke(const TargetLowering *tli = NULL) : FunctionPass((intptr_t)&ID), - TLI(tli) { } + explicit LowerInvoke(const TargetLowering *tli = NULL) + : FunctionPass((intptr_t)&ID), TLI(tli) { } bool doInitialization(Module &M); bool runOnFunction(Function &F); diff --git a/lib/Transforms/Utils/LowerSelect.cpp b/lib/Transforms/Utils/LowerSelect.cpp index 1882695d07..317e84aa96 100644 --- a/lib/Transforms/Utils/LowerSelect.cpp +++ b/lib/Transforms/Utils/LowerSelect.cpp @@ -34,7 +34,7 @@ namespace { bool OnlyFP; // Only lower FP select instructions? public: static char ID; // Pass identification, replacement for typeid - LowerSelect(bool onlyfp = false) : FunctionPass((intptr_t)&ID), + explicit LowerSelect(bool onlyfp = false) : FunctionPass((intptr_t)&ID), OnlyFP(onlyfp) {} virtual void getAnalysisUsage(AnalysisUsage &AU) const { |