diff options
| author | Andrew Schenk <154034018+schenka0@users.noreply.github.com> | 2024-01-28 02:34:44 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-28 02:34:44 -0500 |
| commit | 23b233c8adad5b81e185e50d04356fab64c2f870 (patch) | |
| tree | fa7143c900b4bf0b44b8eac699f25c96e8e33f42 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h | |
| parent | 5abbb7b5d038c62d3dc37ac8a2d7d57deebac0c7 (diff) | |
| download | llvm-23b233c8adad5b81e185e50d04356fab64c2f870.zip llvm-23b233c8adad5b81e185e50d04356fab64c2f870.tar.gz llvm-23b233c8adad5b81e185e50d04356fab64c2f870.tar.bz2 | |
[clangd] Fix isSpelledInSource crash on invalid FileID (#76668)
This fixes the crash reported in #76667 and adds an initial unit test
for isSpelledInSource().
Note that in that issue there was still some underlying corrupted AST,
but this at least makes isSpelledInSource() robust to it.
---------
Co-authored-by: Younan Zhang <zyn7109@gmail.com>
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions
