diff options
author | Sam McCall <sam.mccall@gmail.com> | 2021-11-17 13:27:58 +0100 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2022-01-03 18:19:56 +0100 |
commit | 478863ef58c7f7314e0669d332a90d6e233d44fb (patch) | |
tree | e22919fed92507393b7d74204728d3bd131b8467 /llvm/tools/llvm-readobj/llvm-readobj.cpp | |
parent | b9ed95afc4b18f8e1e16305720c72ed4411a3f71 (diff) | |
download | llvm-478863ef58c7f7314e0669d332a90d6e233d44fb.zip llvm-478863ef58c7f7314e0669d332a90d6e233d44fb.tar.gz llvm-478863ef58c7f7314e0669d332a90d6e233d44fb.tar.bz2 |
[clangd] Basic IncludeCleaner support for c/c++ standard library
There are some limitations here, so this is behind a flag for now (in addition
to the config setting for the overall feature).
- symbols without exactly one associated header aren't handled right
- no macro support
- referencing std::size_t usually doesn't leave any trace in the AST that the
alias in std was used, so we associate with stddef.h instead of cstddef.
(An AST issue not specific to stdlib, but much worse there)
Differential Revision: https://reviews.llvm.org/D114077
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions