From bba8a76b8736fcf005ebbd0a4fb789a22eadf9ba Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Thu, 15 Jul 2021 15:16:29 -0700 Subject: [PATCH] [NFC][hwasan] Remove default arguments in internal class --- llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp index 014a0ce..81c60d7 100644 --- a/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp +++ b/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp @@ -220,9 +220,7 @@ bool shouldInstrumentWithCalls(const Triple &TargetTriple) { /// using tagged pointers. class HWAddressSanitizer { public: - explicit HWAddressSanitizer(Module &M, bool CompileKernel = false, - bool Recover = false) - : M(M) { + HWAddressSanitizer(Module &M, bool CompileKernel, bool Recover) : M(M) { this->Recover = ClRecover.getNumOccurrences() > 0 ? ClRecover : Recover; this->CompileKernel = ClEnableKhwasan.getNumOccurrences() > 0 ? ClEnableKhwasan -- 2.7.4