diff options
author | Sam McCall <sam.mccall@gmail.com> | 2022-11-24 17:33:40 +0100 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2022-11-25 11:57:35 +0100 |
commit | 6a95e67323dd64e6023c0b5ea89407cac2dbc01b (patch) | |
tree | 3ec10117e3cdf68723525fd60ddfed80e93bc444 /llvm/lib/Support/TargetParser.cpp | |
parent | c699a81bc98804650fdd4a85de085e257e074878 (diff) | |
download | llvm-6a95e67323dd64e6023c0b5ea89407cac2dbc01b.zip llvm-6a95e67323dd64e6023c0b5ea89407cac2dbc01b.tar.gz llvm-6a95e67323dd64e6023c0b5ea89407cac2dbc01b.tar.bz2 |
[include-cleaner] HTMLReport shows headers that would be inserted
Demo: https://htmlpreview.github.io/?https://gist.githubusercontent.com/sam-mccall/9730f933a2cf2e003365520b6636f731/raw/7911d8251ceab7c244e0510285105027cd0a9403/PathMapping.cpp.html
Header insertion doesn't actually work that well (not this patch's fault):
- we don't have ranking of locations/headers yet, so inserted header is pretty
random
- on my system, we get a lot of absolute "/usr/bin/../include/..." paths.
This is a HeaderSearch bug introduced in D60873 that I'll send a fix for
Differential Revision: https://reviews.llvm.org/D138676
Diffstat (limited to 'llvm/lib/Support/TargetParser.cpp')
0 files changed, 0 insertions, 0 deletions