[cfe-dev] clangd outputting relative/non-canonical URIs

Simon Marchi via cfe-dev cfe-dev at lists.llvm.org
Fri Feb 2 10:54:42 PST 2018


On 2018-02-02 12:22, Eric Liu wrote:
> Hi Simon,
> 
> This is likely a bug in the go-to-definition code path. clangd should
> always return URIs with absolute paths. There have also been some 
> recent
> changes that make clangd produce canonical URIs. I think your example 
> would
> actually cause assertion failure in a newer build of clangd. I'll look 
> into
> this.
> 
> Cheers,
> Eric

Hi Eric,

Ok, thanks for confirming the problem.  I opened a bug for this:

https://bugs.llvm.org/show_bug.cgi?id=36213

Simon



More information about the cfe-dev mailing list