[libc-commits] [libc] b7599da - [libc] Fixed NamedType usage in Fenv HeaderSpec Types (#95487)
via libc-commits
libc-commits at lists.llvm.org
Fri Jun 14 10:14:42 PDT 2024
Author: RoseZhang03
Date: 2024-06-14T17:14:39Z
New Revision: b7599da44983e3921116991bc6de1f10d2c1c3d9
URL: https://github.com/llvm/llvm-project/commit/b7599da44983e3921116991bc6de1f10d2c1c3d9
DIFF: https://github.com/llvm/llvm-project/commit/b7599da44983e3921116991bc6de1f10d2c1c3d9.diff
LOG: [libc] Fixed NamedType usage in Fenv HeaderSpec Types (#95487)
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
Added:
Modified:
libc/spec/stdc.td
Removed:
################################################################################
diff --git a/libc/spec/stdc.td b/libc/spec/stdc.td
index b7375fb411220..f9c79ee106bbb 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
[
More information about the libc-commits
mailing list