[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:51:47 PDT 2024


https://github.com/RoseZhang03 created https://github.com/llvm/llvm-project/pull/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

>From 5feecc39ab07a2936003c803fd99769fa6ac4057 Mon Sep 17 00:00:00 2001
From: Rose Zhang <rosezhang at google.com>
Date: Thu, 13 Jun 2024 23:41:36 +0000
Subject: [PATCH] [libc] Fixed NamedType usage in Fenv HeaderSpec Types

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
---
 libc/spec/stdc.td | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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
       [



More information about the libc-commits mailing list