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

Nikita Popov via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 11 06:12:49 PDT 2024


================
@@ -413,6 +414,12 @@ class TargetCodeGenInfo {
     return nullptr;
   }
 
+  void setFnAttributes(const TargetInfo::BranchProtectionInfo &BPI,
----------------
nikic wrote:

```suggestion
  void setBranchProtectionFnAttributes(const TargetInfo::BranchProtectionInfo &BPI,
```
Or so? The current name seems a bit too generic.

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


More information about the cfe-commits mailing list