[clang] [clang] Additional FP classification functions (PR #69041)

via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 15 21:58:23 PDT 2023


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 6e8013a1301ef31f3592035eae2ee08319edd318 69c7f90dfe21b96f6bc2678b08d9f002b0b0584d -- clang/lib/AST/ExprConstant.cpp clang/lib/AST/Interp/Floating.h clang/lib/AST/Interp/InterpBuiltin.cpp clang/lib/CodeGen/CGBuiltin.cpp clang/lib/Sema/SemaChecking.cpp clang/test/AST/Interp/builtin-functions.cpp clang/test/CodeGen/builtins.c clang/test/Sema/constant-builtins-2.c
``````````

</details>

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

``````````diff
diff --git a/clang/lib/AST/Interp/InterpBuiltin.cpp b/clang/lib/AST/Interp/InterpBuiltin.cpp
index 36e16a558d98..87880a4aca48 100644
--- a/clang/lib/AST/Interp/InterpBuiltin.cpp
+++ b/clang/lib/AST/Interp/InterpBuiltin.cpp
@@ -304,7 +304,8 @@ static bool interp__builtin_isnan(InterpState &S, CodePtr OpPC,
 }
 
 static bool interp__builtin_issignaling(InterpState &S, CodePtr OpPC,
-                                  const InterpFrame *Frame, const Function *F) {
+                                        const InterpFrame *Frame,
+                                        const Function *F) {
   const Floating &Arg = S.Stk.peek<Floating>();
 
   pushInt(S, Arg.isSignaling());

``````````

</details>


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


More information about the cfe-commits mailing list