[NFC][hwasan] Remove default arguments in internal class

This commit is contained in:
Vitaly Buka 2021-07-15 15:16:29 -07:00
parent 4eb107ccba
commit bba8a76b87
1 changed files with 1 additions and 3 deletions

View File

@ -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