[libc-commits] [libc] [libc] Fixed NamedType usage in Fenv HeaderSpec Types (PR #95487)

via libc-commits libc-commits at lists.llvm.org
Thu Jun 13 16:52:13 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: None (RoseZhang03)

<details>
<summary>Changes</summary>

Issue: NamedType<"fenv_t"> and NamedType<"fexcept_t"> were used in Fenv HeaderSpec Types section instead of the actual NamedType
Fixed: Changed to FEnvT and FExceptT

---
Full diff: https://github.com/llvm/llvm-project/pull/95487.diff


1 Files Affected:

- (modified) libc/spec/stdc.td (+2-2) 


``````````diff
diff --git a/libc/spec/stdc.td b/libc/spec/stdc.td
index 9a436c8ae38d2..ff0e25767906d 100644
--- a/libc/spec/stdc.td
+++ b/libc/spec/stdc.td
@@ -134,8 +134,8 @@ def StdC : StandardSpec<"stdc"> {
           Macro<"FE_DFL_ENV">
       ],
       [
-          NamedType<"fenv_t">,
-          NamedType<"fexcept_t">,
+          FEnvT,
+          FExceptT,
       ], // Types
       [], // Enumerations
       [

``````````

</details>


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


More information about the libc-commits mailing list