Skip to content
Unverified Commit 23b233c8 authored by Andrew Schenk's avatar Andrew Schenk Committed by GitHub
Browse files

[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: default avatarYounan Zhang <zyn7109@gmail.com>
parent 5abbb7b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment