[clang] [AArch64] Diagnose more functions when FP not enabled (PR #90832)

via cfe-commits cfe-commits at lists.llvm.org
Thu May 2 01:30:18 PDT 2024


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 16bd10a38730fed27a3bf111076b8ef7a7e7b3ee b562b354a7bb955c3c46cd79753fd3d2d72d48fe -- clang/lib/CodeGen/CGCall.cpp clang/lib/CodeGen/TargetInfo.h clang/lib/CodeGen/Targets/AArch64.cpp clang/lib/CodeGen/Targets/X86.cpp clang/test/CodeGen/aarch64-soft-float-abi-errors.c
``````````

</details>

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

``````````diff
diff --git a/clang/lib/CodeGen/Targets/AArch64.cpp b/clang/lib/CodeGen/Targets/AArch64.cpp
index 4c66f7ffa0..1ba65ce461 100644
--- a/clang/lib/CodeGen/Targets/AArch64.cpp
+++ b/clang/lib/CodeGen/Targets/AArch64.cpp
@@ -170,8 +170,7 @@ public:
 
   void checkFunctionCallABI(CodeGenModule &CGM, SourceLocation CallLoc,
                             const FunctionDecl *Caller,
-                            const FunctionDecl *Callee,
-                            const CallArgList &Args,
+                            const FunctionDecl *Callee, const CallArgList &Args,
                             QualType ReturnType) const override;
 
 private:

``````````

</details>


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


More information about the cfe-commits mailing list