[all-commits] [llvm/llvm-project] dc58a0: [libc][bazel] Enable parse_headers feature for llv...
Alexey Samsonov via All-commits
all-commits at lists.llvm.org
Fri Jul 25 07:47:46 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dc58a08f4f385b7d1035ac6d900f935fe745417f
https://github.com/llvm/llvm-project/commit/dc58a08f4f385b7d1035ac6d900f935fe745417f
Author: Alexey Samsonov <vonosmas at gmail.com>
Date: 2025-07-25 (Fri, 25 Jul 2025)
Changed paths:
M libc/src/__support/math/exp.h
M libc/src/math/generic/range_reduction_double_common.h
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[libc][bazel] Enable parse_headers feature for llvm-libc. (#150538)
See https://bazel.build/docs/bazel-and-cpp#toolchain-features for why
this feature is recommended for C++ projects.
215dbcb2bc5c1b1bc8775db2a7c22f67f3949fd7 added the necessary default
Bazel flag to make this feature functional. It can be enabled on a
per-project basis. Do this now for llvm-libc.
After enabling this feature, Blaze tries to parse headers from all
header-only libraries, even if the headers are not explicitly used in
tests, which allows to detect the issues early on.
Fix a couple of -Wunused-function warnings by marking the static
functions as constexpr or inline.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list