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

Daniel Kiss via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 11 08:55:08 PDT 2024


================
@@ -133,7 +133,7 @@ class AArch64TargetCodeGenInfo : public TargetCodeGenInfo {
       }
     }
     auto *Fn = cast<llvm::Function>(GV);
-    BPI.setFnAttributes(*Fn);
+    CGM.getTargetCodeGenInfo().setFnAttributes(BPI, *Fn);
----------------
DanielKristofKiss wrote:

oh right.

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


More information about the cfe-commits mailing list