[clang-tools-extra] Fix is spelled in source bug (PR #76668)

2023-12-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangd Author: None (schenka0) Changes This fixes the issue 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()

[clang-tools-extra] Fix is spelled in source bug (PR #76668)

2023-12-31 Thread via cfe-commits
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it

[clang-tools-extra] Fix is spelled in source bug (PR #76668)

2023-12-31 Thread via cfe-commits
https://github.com/schenka0 created https://github.com/llvm/llvm-project/pull/76668 This fixes the issue 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