[AArch64] Use default member initialization (NFC)

Identified with modernize-use-default-member-init.
This commit is contained in:
Kazu Hirata 2022-06-12 18:52:02 -07:00
parent 6c39687567
commit 1ad01f4f7c
1 changed files with 3 additions and 3 deletions
llvm/lib/Target/AArch64/AsmParser

View File

@ -127,7 +127,7 @@ private:
return Prefix;
}
PrefixInfo() : Active(false), Predicated(false) {}
PrefixInfo() = default;
bool isActive() const { return Active; }
bool isPredicated() const { return Predicated; }
unsigned getElementSize() const {
@ -141,8 +141,8 @@ private:
}
private:
bool Active;
bool Predicated;
bool Active = false;
bool Predicated = false;
unsigned ElementSize;
unsigned Dst;
unsigned Pg;