[libcxx-commits] [clang] [compiler-rt] [libcxxabi] [llvm] Automatic removal of unused standard header (PR #192800)
Andrey Ali Khan Bolshakov via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Apr 20 05:46:05 PDT 2026
bolshakov-a wrote:
I think the tool is generally good because, for standard library symbols, the simple textual lookup is usually sufficient for doing IWYU (but not always, see https://discourse.llvm.org/t/should-stacktrace-provide-string/89605). However, I've noticed that [the mapping in diskarzhan](https://github.com/mozilla/diskarzhan/blob/main/diskarzhan/std.py) is not full even for C++17 (`std::lcm` is missing for `<numeric>` at least). @serge-sans-paille, you can use https://github.com/include-what-you-use/include-what-you-use/blob/master/std_symbol_map.inc for reference, but keep in mind that it is also still not full.
https://github.com/llvm/llvm-project/pull/192800
More information about the libcxx-commits
mailing list