Nathan Ridge

Results 1499 comments of Nathan Ridge

> I also discovered another problem, probably as a separate issue as you prefer. I had an inclusion chain of: `main.cpp`->`Arduino.h`->`FreeRTOS.h` > > The file `FreeRTOS.h` wouldn't resolve its includes...

The error about `__block` seems to be a conflict between the code which is using `__block` as an **identifier** (parameter name), and a [language extension](https://clang.llvm.org/docs/BlockLanguageSpec.html#the-block-storage-qualifier) clang supports that treats `__block`...

I think this should already work. Could you share [clangd logs](https://clangd.llvm.org/troubleshooting.html#gathering-logs) from a session where you encounter this unresolved include error?

Thanks. So, the idea behind headers like `sanitizer/asan_interface.h`, is that they are part of a compiler's "built-in headers", which are closely tied to the compiler, and therefore clangd ships and...

> I've confirmed that the file `sanitizer/asan_interface.h` does not exist in the expected location: `/home/willaaaaaaa/.vscode-server/.../clangd_19.1.2/lib/clang/19/include/` Thanks. That directory looks like the location where vscode-clangd's auto-install feature installs clangd. That feature...

How big is the codebase (order of magnitude number of entries in `compile_commands.json`), and how much memory do the affected systems have? Clangd's background index can use a lot of...

Oh I should also mention the `-j` option if you're not aware of it already: ``` -j - Number of async workers used by clangd. Background index also uses this...

> I'm not sure if I need to put "-j" and "4" as seperate arguments.. I believe either separate arguments, or `"-j=4", should work. > Are there any other options...

> When I start `clangd` with argument `-j=1` then CPU goes to approx. `185%` and stays there for several minutes. My guess would be that during this time, one thread...

> If I switch to another file, and go back, it would show the **last line of the signature** instead of the **first line** ! This suggests the issue is...