[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:17:42 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libc
Author: None (aaryanshukla)
<details>
<summary>Changes</summary>
- spacing with _NOEXCEPT
---
Full diff: https://github.com/llvm/llvm-project/pull/99397.diff
2 Files Affected:
- (modified) libc/newhdrgen/tests/output/test_small.h (+4-4)
- (modified) libc/newhdrgen/tests/test_integration.py (+1)
``````````diff
diff --git a/libc/newhdrgen/tests/output/test_small.h b/libc/newhdrgen/tests/output/test_small.h
index a777976134b04..a1ed28e391ffd 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;
diff --git a/libc/newhdrgen/tests/test_integration.py b/libc/newhdrgen/tests/test_integration.py
index f12d18bc04a49..628a37b11c309 100644
--- a/libc/newhdrgen/tests/test_integration.py
+++ b/libc/newhdrgen/tests/test_integration.py
@@ -25,6 +25,7 @@ def run_script(self, yaml_file, h_def_file, output_dir):
"python3",
str(self.source_dir / "libc/newhdrgen/yaml_to_classes.py"),
str(yaml_file),
+ "--h_def_file",
str(h_def_file),
"--output_dir",
str(output_dir),
``````````
</details>
https://github.com/llvm/llvm-project/pull/99397
More information about the libc-commits
mailing list