github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. 
:warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff bf4167fd1d06ff68da2cbea210a4ccfa045694d3 
6c3f68439fd102070f183a77b7d58d49f399b43c --extensions h,cpp -- 
clang/include/clang/Basic/TargetInfo.h clang/lib/CodeGen/TargetInfo.cpp 
clang/lib/CodeGen/TargetInfo.h clang/lib/CodeGen/Targets/AArch64.cpp 
clang/lib/CodeGen/Targets/ARM.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp
index a9e4ff2a82..38faa50cf1 100644
--- a/clang/lib/CodeGen/TargetInfo.cpp
+++ b/clang/lib/CodeGen/TargetInfo.cpp
@@ -215,8 +215,7 @@ void TargetCodeGenInfo::setBranchProtectionFnAttributes(
 }
 
 void TargetCodeGenInfo::setBranchProtectionFnAttributes(
-    const TargetInfo::BranchProtectionInfo &BPI,
-    llvm::AttrBuilder &FuncAttrs) {
+    const TargetInfo::BranchProtectionInfo &BPI, llvm::AttrBuilder &FuncAttrs) 
{
   if (BPI.SignReturnAddr != LangOptions::SignReturnAddressScopeKind::None) {
     FuncAttrs.addAttribute("sign-return-address", BPI.getSignReturnAddrStr());
     FuncAttrs.addAttribute("sign-return-address-key", BPI.getSignKeyStr());

``````````

</details>


https://github.com/llvm/llvm-project/pull/98451
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to