Nathan Ridge

Results 1499 comments of Nathan Ridge

Some brief testing shows that vscode's heuristic seems to be "always send `"cpp"`". I don't think that's suitable as a replacement for clangd's heuristic.

The fallback command is only used if a compilation database file is not found at all in ancestor directories of the source file being edited (or in the directory specified...

Are you able to compile the code with clang as the compiler?

Whichever works, I suppose? The idea would be: (1) get the code to compile with some form of clang, (2) use clangd from the same source (and same version) as...

Sorry, I'm a bit out of my depth on this Windows stuff. I do recall from past conversations with MSYS2 users, that using the clangd that was packaged by MSYS2...

> Is it possible to open a bug ticket specifically for clang-tidy? Yes, the issue tracker for clang-tidy is https://github.com/llvm/llvm-project/issues/. You can put "[clang-tidy]" in the issue title and the...

Do I understand correctly that this is a partial fix for https://github.com/clangd/clangd/issues/1254 in that it addresses the issue with overloaded operators in particular, but it still leaves in place the...

While I haven't checked the details, my guess is that, since lambdas are modelled as local classes, and the local class is declared inside the function's DeclContext, it therefore becomes...

> While I haven't checked the details, my guess is that, since lambdas are modelled as local classes, and the local class is declared inside the function's DeclContext, it therefore...

Note, this issue can still be fixed in clangd, it just needs to be done at the level of tooling-specific heuristics (such as `HeuristicResolver`), rather than changing how the front-end...