Nathan Ridge

Results 61 issues of Nathan Ridge

In the following code: ```c++ struct S { int val; operator bool() { return val != 0; } }; void foo(S s) { if (!s) { } } ``` the...

enhancement

In the following (invalid) code: ```c++ void use(unresolved_type); int main() { unresolved_type foo; use(foo); } ``` it would be nice if go-to-def on the use of `foo` successfully navigated to...

enhancement

LSP 3.17 comes with a new `CodeActionKind` named `source.fixAll` which is intended to identify code actions suitable to be run as part of an automatic action that runs on the...

enhancement

One of the most common user questions is "how do I get clangd to resolve my standard library headers". I would like to suggest that clangd do more to help...

enhancement

In the following (invalid) code: ```c++ unresolved var0; template void sink(T); int var1 = sink(var0.foo); unresolved var2 = sink(var0.bar); ``` there are a couple of inconsistencies between the initializers of...

enhancement

I feel like we've had discussions related to this, but I can't find it at the moment. Given how common it is to construct a class using `make_unique(args)`, it would...

enhancement

In the following code: ```c++ namespace Unrelated { void meow(); } struct Cat { void meow(); }; void foo() { auto L = [](auto x) { x.meow(); }; L(Cat()); }...

It would be nice to have a way for users to try the latest changes to vscode-clangd without having to build it from source (and without having to publish a...

enhancement

vscode-clangd's "AST view" feature is a convenient way to look at the AST for a fragment of code you're interested in. Sometimes, you want to share such a fragment with...

enhancement

After trying to follow the instructions at https://github.com/elfshaker/manyclangs#x86-64, when I get to the `elfshaker extract` command, I get the following error: > $ elfshaker extract 20211130-02660T231245-9b704d31b54a616 [WARN (main) 130.625487ms]: File...