[libc-commits] [libc] [libc] fix typo in stdbit.h macro spec files (PR #84780)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Mon Mar 11 09:10:28 PDT 2024


https://github.com/nickdesaulniers created https://github.com/llvm/llvm-project/pull/84780

None

>From 852d2eb9169685cfbede967c9c65a0085a7960c9 Mon Sep 17 00:00:00 2001
From: Nick Desaulniers <ndesaulniers at google.com>
Date: Mon, 11 Mar 2024 09:09:48 -0700
Subject: [PATCH] [libc] fix typo in stdbit.h macro spec files

---
 libc/spec/stdc.td | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libc/spec/stdc.td b/libc/spec/stdc.td
index d91f5c1f723345..486e5dd9e894d5 100644
--- a/libc/spec/stdc.td
+++ b/libc/spec/stdc.td
@@ -815,9 +815,9 @@ def StdC : StandardSpec<"stdc"> {
         Macro<"stdc_count_zeros">,
         Macro<"stdc_count_ones">,
         Macro<"stdc_has_single_bit">,
-        Macro<"std_bit_width">,
-        Macro<"std_bit_floor">,
-        Macro<"std_bit_ceil">
+        Macro<"stdc_bit_width">,
+        Macro<"stdc_bit_floor">,
+        Macro<"stdc_bit_ceil">
       ], // Macros
       [], // Types
       [], // Enumerations



More information about the libc-commits mailing list