[libc-commits] [libc] [libc] newheadergen: adding h_def_file arg to test (PR #99397)

via libc-commits libc-commits at lists.llvm.org
Wed Jul 17 15:20:49 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 bed625b0ad6722e1d29a3ea492dda173eee541dd 30a5f918af32da05ee31a38ac8512db746def0ac --extensions h -- libc/newhdrgen/tests/output/test_small.h
``````````

</details>

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

``````````diff
diff --git a/libc/newhdrgen/tests/output/test_small.h b/libc/newhdrgen/tests/output/test_small.h
index a1ed28e391..a777976134 100644
--- a/libc/newhdrgen/tests/output/test_small.h
+++ b/libc/newhdrgen/tests/output/test_small.h
@@ -28,20 +28,20 @@ enum {
 
 __BEGIN_C_DECLS
 
-CONST_FUNC_A void func_a()__NOEXCEPT;
+CONST_FUNC_A void func_a() __NOEXCEPT;
 
 #ifdef LIBC_TYPES_HAS_FLOAT128
 float128 func_b() __NOEXCEPT;
 #endif // LIBC_TYPES_HAS_FLOAT128
 
 #ifdef LIBC_TYPES_HAS_FLOAT16
-_Float16 func_c(int, float)__NOEXCEPT;
+_Float16 func_c(int, float) __NOEXCEPT;
 
-_Float16 func_d(int, float)__NOEXCEPT;
+_Float16 func_d(int, float) __NOEXCEPT;
 #endif // LIBC_TYPES_HAS_FLOAT16
 
 #ifdef LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128
-_Float16 func_e(float128)__NOEXCEPT;
+_Float16 func_e(float128) __NOEXCEPT;
 #endif // LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128
 
 extern obj object_1;

``````````

</details>


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


More information about the libc-commits mailing list