Nathan Ridge

Results 1220 comments of Nathan Ridge

An assertions-enabled build crashes with: > clang-tools-extra/clangd/Selection.cpp:330: SelectionTree::Selection clang::clangd::(anonymous namespace)::SelectionTester::test(llvm::ArrayRef) const: Assertion `!Batch.empty()' failed

Based on the previous comments, this is definitely a server-side issue. Not happening with other editors is probably related to other editors not sending `textDocument/codeAction` as aggressively (i.e. without explicit...

Looks like the same issue as https://github.com/llvm/llvm-project/issues/58482. There's some analysis in that issue, I'll close this one as a dupe.

Duplicate of https://github.com/llvm/llvm-project/issues/58482

@bgamari: `CompileFlags: Add:` modifies the command from the CDB (`compile_commands.json`) entry used for a file. The entry (and thus the `compile_commands.json` file) still needs to exist. [**Edit: I was mistaken...

> is https://reviews.llvm.org/D107130 a part of 13.0.0 release? Looks like it just missed it -- it was commited on Jul 30, and 13.0 branched on Jul 28.

> Today I put a `.clangd` file at project root, but the verbose message just show: > > `V[14:48:07.633] Config fragment: compiling .../.clangd:8 -> 0x00007EFF780144B0 (trusted=false)` > > If I...

Remote index is a feature to consume the project's index from a remote machine instead of indexing locally; if you're not familiar with it it's safe to say you're not...

Thanks for the details. > Some headers are not found and marked by red squiggles. Is the file containing the unresolved includes located in the directory tree of `${workspaceFolder}`? I...

> Is there any measure to disable this security measure from `clangd`? The part about a config file being scoped to its directory is not a security measure, it's just...