Skip to content

Commit bba8a76

Browse files
committed
[NFC][hwasan] Remove default arguments in internal class
1 parent 4eb107c commit bba8a76

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,7 @@ bool shouldInstrumentWithCalls(const Triple &TargetTriple) {
220220
/// using tagged pointers.
221221
class HWAddressSanitizer {
222222
public:
223-
explicit HWAddressSanitizer(Module &M, bool CompileKernel = false,
224-
bool Recover = false)
225-
: M(M) {
223+
HWAddressSanitizer(Module &M, bool CompileKernel, bool Recover) : M(M) {
226224
this->Recover = ClRecover.getNumOccurrences() > 0 ? ClRecover : Recover;
227225
this->CompileKernel = ClEnableKhwasan.getNumOccurrences() > 0
228226
? ClEnableKhwasan

0 commit comments

Comments
 (0)