fix(clangd): Remove gcc args not valid in clang

After running `pio run --target compiledb` to generate `compile_commands.json`, clangd (at least in neovim) throws errors that `-fno-tree-switch-conversion` and `-fstrict-volatile-bitfields` are not valid flags.
This commit is contained in:
Joel Goguen
2026-04-16 20:27:26 -04:00
parent 052bd016a0
commit 34ff9b5efa
+3
View File
@@ -1,2 +1,5 @@
CompileFlags:
Add: [-std=c++2a]
Remove:
- -fno-tree-switch-conversion
- -fstrict-volatile-bitfields