When compiling .c files with -std=c99 the Include Cleaner will suggest to include <cerrno> instead of <errno.h> which it shouldn't. <cerrno> is arguably only the correct choice for C++ programs.
Logs
N/A
System information
$ clangd --version
clangd version 17.0.6
Features: linux
Platform: x86_64-pc-linux-gnu
When compiling
.c
files with-std=c99
the Include Cleaner will suggest to include<cerrno>
instead of<errno.h>
which it shouldn't.<cerrno>
is arguably only the correct choice for C++ programs.Logs N/A
System information
Editor/LSP plugin: https://marketplace.visualstudio.com/items?itemName=llvm-vs-code-extensions.vscode-clangd
Operating system: Arch Linux