Skip to content

[libc] remove stdc_leading_zeros for now #79915

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

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions libc/include/llvm-libc-macros/stdbit-macros.h

This file was deleted.

1 change: 0 additions & 1 deletion libc/include/stdbit.h.def
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#define LLVM_LIBC_STDBIT_H

#include <__llvm-libc-common.h>
#include <llvm-libc-macros/stdbit-macros.h>

%%public_api()

Expand Down
23 changes: 0 additions & 23 deletions libc/test/include/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,3 @@ add_libc_test(
# This is needed because the __containerof macro uses statement expression.
-Wno-gnu-statement-expression-from-macro-expansion
)

# stdbit_test only tests our generated stdbit.h, which is not generated in
# overlay mode.
if (LLVM_LIBC_FULL_BUILD)
add_libc_test(
stdbit_test
SUITE
libc_include_tests
SRCS
stdbit_test.cpp
DEPENDS
libc.include.llvm-libc-macros.stdbit_macros
libc.include.stdbit
# Intentionally do not depend on libc.src.stdbit.*. The include test is
# simply testing the macros provided by stdbit.h, not the implementation
# of the underlying functions which the type generic macros may dispatch
# to.
COMPILE_OPTIONS
# stdbit.h is full of type generic macros implemented via C11 _Generic.
# Clang will produce -Wno-c11-extensions when using _Generic in C++ mode.
-Wno-c11-extensions
)
endif()
35 changes: 0 additions & 35 deletions libc/test/include/stdbit_test.cpp

This file was deleted.