diff options
| author | Sam McCall <sam.mccall@gmail.com> | 2021-10-27 21:13:32 +0200 |
|---|---|---|
| committer | Sam McCall <sam.mccall@gmail.com> | 2021-10-28 08:00:57 +0200 |
| commit | 73453e7adecbcc7208ceb70d5e55086ffbd1de3a (patch) | |
| tree | 705b81be268d2d708d3e3c996c169dcc0725ec2d /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 259e4c565846eea4fa09941f1a776636d4d024bc (diff) | |
[clangd] Avoid expensive checks of buffer names in IncludeCleaner
This changes the handling of special buffers (<command-line> etc) that
SourceManager treats as files but FileManager does not.
We now include them in findReferencedFiles() and drop them as part of
translateToHeaderIDs(). This pairs more naturally with the data representations
we're using, and so avoids a bunch of converting between representations for
filtering.
Differential Revision: https://reviews.llvm.org/D112652
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
