[NFC][hwasan] Remove default arguments in internal class
This commit is contained in:
parent
4eb107ccba
commit
bba8a76b87
|
@ -220,9 +220,7 @@ bool shouldInstrumentWithCalls(const Triple &TargetTriple) {
|
||||||
/// using tagged pointers.
|
/// using tagged pointers.
|
||||||
class HWAddressSanitizer {
|
class HWAddressSanitizer {
|
||||||
public:
|
public:
|
||||||
explicit HWAddressSanitizer(Module &M, bool CompileKernel = false,
|
HWAddressSanitizer(Module &M, bool CompileKernel, bool Recover) : M(M) {
|
||||||
bool Recover = false)
|
|
||||||
: M(M) {
|
|
||||||
this->Recover = ClRecover.getNumOccurrences() > 0 ? ClRecover : Recover;
|
this->Recover = ClRecover.getNumOccurrences() > 0 ? ClRecover : Recover;
|
||||||
this->CompileKernel = ClEnableKhwasan.getNumOccurrences() > 0
|
this->CompileKernel = ClEnableKhwasan.getNumOccurrences() > 0
|
||||||
? ClEnableKhwasan
|
? ClEnableKhwasan
|
||||||
|
|
Loading…
Reference in New Issue