[clang] [NFC][Clang] Move set functions out BranchProtectionInfo. (PR #98451)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 11 10:32:50 PDT 2024


================
@@ -152,7 +152,7 @@ class ARMTargetCodeGenInfo : public TargetCodeGenInfo {
               diag::warn_target_unsupported_branch_protection_attribute)
               << Arch;
         } else {
-          BPI.setFnAttributes(*Fn);
+          setBranchProtectionFnAttributes(BPI, (*Fn));
----------------
efriedma-quic wrote:

Unnecessary parens.

https://github.com/llvm/llvm-project/pull/98451


More information about the cfe-commits mailing list