diff options
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Interpreter.h | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/ARM/ARMFrameInfo.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h index 323885002ce..9ad837c31b4 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h +++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h @@ -94,7 +94,7 @@ class Interpreter : public ExecutionEngine, public InstVisitor<Interpreter> { std::vector<Function*> AtExitHandlers; public: - Interpreter(Module *M); + explicit Interpreter(Module *M); ~Interpreter(); /// runAtExitHandlers - Run any functions registered by the program's calls to diff --git a/llvm/lib/Target/ARM/ARMFrameInfo.h b/llvm/lib/Target/ARM/ARMFrameInfo.h index c56640a3545..67ea7b6ce37 100644 --- a/llvm/lib/Target/ARM/ARMFrameInfo.h +++ b/llvm/lib/Target/ARM/ARMFrameInfo.h @@ -23,7 +23,7 @@ namespace llvm { class ARMFrameInfo : public TargetFrameInfo { public: - ARMFrameInfo(const ARMSubtarget &ST) + explicit ARMFrameInfo(const ARMSubtarget &ST) : TargetFrameInfo(StackGrowsDown, ST.getStackAlignment(), 0) { } }; |

