aboutsummaryrefslogtreecommitdiff
path: root/.clangd
diff options
context:
space:
mode:
Diffstat (limited to '.clangd')
-rw-r--r--.clangd35
1 files changed, 32 insertions, 3 deletions
diff --git a/.clangd b/.clangd
index 63dadd7e7c..82ee5628b0 100644
--- a/.clangd
+++ b/.clangd
@@ -1,4 +1,33 @@
CompileFlags:
- Add: [-Wno-unknown-attributes, -Wno-maybe-uninitialized, -Wno-unknown-warning-option]
- Remove: [-W*, -mmcu=*, -mcpu=*, -mfpu=*, -mfloat-abi=*, -mno-unaligned-access, -mno-thumb-interwork, -mcall-prologues, -D__has_include*]
- Compiler: clang
+ Add:
+ [
+ -Wno-unknown-attributes,
+ -Wno-maybe-uninitialized,
+ -Wno-unknown-warning-option,
+ -Wno-pointer-to-int-cast,
+ -Wno-int-to-void-pointer-cast,
+ -DPROGMEM=,
+ ]
+ Remove:
+ [
+ -W*,
+ -mmcu=*,
+ -mcpu=*,
+ -mfpu=*,
+ -mfloat-abi=*,
+ -mno-unaligned-access,
+ -mno-thumb-interwork,
+ -mcall-prologues,
+ -D__has_include*,
+ -mlra,
+ ]
+ Compiler: clang
+Diagnostics:
+ UnusedIncludes: None
+ Suppress:
+ [
+ asm_invalid_output_constraint,
+ asm_invalid_input_constraint,
+ invalid_asm_value_for_constraint,
+ anyx86_interrupt_attribute,
+ ]