diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2025-07-25 07:47:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-25 07:47:25 -0700 |
commit | dc58a08f4f385b7d1035ac6d900f935fe745417f (patch) | |
tree | 090b69619cc6366d0e43b480041b9e8fd6073436 /llvm/tools/llvm-shlib/libllvm.cpp | |
parent | 0c6784c9514d0ddb257bf0fd797969e0ae602882 (diff) | |
download | llvm-dc58a08f4f385b7d1035ac6d900f935fe745417f.zip llvm-dc58a08f4f385b7d1035ac6d900f935fe745417f.tar.gz llvm-dc58a08f4f385b7d1035ac6d900f935fe745417f.tar.bz2 |
[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.
Diffstat (limited to 'llvm/tools/llvm-shlib/libllvm.cpp')
0 files changed, 0 insertions, 0 deletions