Skip to content

[libc] fix typo in stdbit.h macro spec files #84780

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

nickdesaulniers
Copy link
Member

No description provided.

@llvmbot llvmbot added the libc label Mar 11, 2024
@nickdesaulniers
Copy link
Member Author

cc @Flandini for review

@llvmbot
Copy link
Member

llvmbot commented Mar 11, 2024

@llvm/pr-subscribers-libc

Author: Nick Desaulniers (nickdesaulniers)

Changes

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

1 Files Affected:

  • (modified) libc/spec/stdc.td (+3-3)
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

@Flandini
Copy link
Contributor

Flandini commented Mar 12, 2024

Whoops, missed this when I added ceil. LGTM

@lntue lntue self-requested a review March 12, 2024 03:25
@nickdesaulniers nickdesaulniers merged commit 3924363 into llvm:main Mar 12, 2024
@nickdesaulniers nickdesaulniers deleted the typo branch March 12, 2024 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants