Nathan Ridge

Results 1165 comments of Nathan Ridge

Here's an example where we need to gather the associated constraints of three different levels of decls: ```c++ template concept X = requires(T t) { t.xxx; }; template concept Y...

Minimal example: ```c++ class A {}; template class B : public S {}; class C : public B {}; ``` Here, `C` inherits from `B` which inherits from `A`, but...

The root cause of the issue here is that clangd's indexer uses clang's libIndex (an indexing library also used by libclang) to record base-derived relations in the index, and libIndex...

My understanding is that querying the compiler driver for include paths is supposed to work as well (that is the main purpose of the `CompileFlags: Compiler:` configuration option). Or does...

Thanks, I can reproduce the issue. It looks like a bug in how the clangd's CDB abstractions are layered. Clangd first builds a `DirectoryBasedGlobalCompilationDatabase`, then wraps that in a `QueryDriverDatabase`,...

The above diagnosis suggests that the issue is not specific to `compile_flags.txt`, it affects `compile_commands.json` as well (though I guess you're less likely to need to use `CompileFlags: Compiler:` if...

@danngreen Based on your description, you're running into a different issue, #1100, which is fixed on the 15.x branch and trunk.

Proposed patches: https://reviews.llvm.org/D133756 https://reviews.llvm.org/D133757 They also fix #1173 and #1263

Does there exist a "correct" header to open in this case (and if so, at what path)?