[AArch64][NFC] Move hasFeature fields initiations to the declaration
authorDaniel Kiss <daniel.kiss@arm.com>
Fri, 9 Dec 2022 15:23:10 +0000 (16:23 +0100)
committerDaniel Kiss <daniel.kiss@arm.com>
Fri, 9 Dec 2022 15:23:26 +0000 (16:23 +0100)
commit218b77c85057e8aae153edcedfe365061270e70c
tree472ccaf609fe36ad2ec697a93d9c78fb0caedea2
parentcc1e2bb4d44c6a47705faff52fc62e83917998d0
[AArch64][NFC] Move hasFeature fields initiations to the declaration

hasFeature fields need to be initialised to false. Easy to miss as missed for hasPAuth and hasFlagM.
Maybe the code less error prone like this.

Reviewed By: chill

Differential Revision: https://reviews.llvm.org/D139622
clang/lib/Basic/Targets/AArch64.cpp
clang/lib/Basic/Targets/AArch64.h