Unverified Commit 9d1dada5 authored by Nathan Ridge's avatar Nathan Ridge Committed by GitHub
Browse files

[clangd] Handle an expanded token range that ends in the `eof` token in...

[clangd] Handle an expanded token range that ends in the `eof` token in TokenBuffer::spelledForExpanded() (#78092)

Such ranges can legitimately arise in the case of invalid code, such as
a declaration missing an ending brace.

Fixes https://github.com/clangd/clangd/issues/1559
parent 8ff0ab0a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment