[clang] [Clang][ARM] Call constructor on BranchTargetInfo. (PR #98307)
Tomas Matheson via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 10 07:41:27 PDT 2024
================
@@ -141,7 +141,7 @@ class ARMTargetCodeGenInfo : public TargetCodeGenInfo {
ParsedTargetAttr Attr =
CGM.getTarget().parseTargetAttr(TA->getFeaturesStr());
if (!Attr.BranchProtection.empty()) {
- TargetInfo::BranchProtectionInfo BPI;
+ TargetInfo::BranchProtectionInfo BPI{};
----------------
tmatheson-arm wrote:
These are unnecessary now, right? Making them explicit is fine though.
https://github.com/llvm/llvm-project/pull/98307
More information about the cfe-commits
mailing list