Remove clangd linting errors
This commit is contained in:
26
.clangd
Normal file
26
.clangd
Normal file
@@ -0,0 +1,26 @@
|
||||
CompileFlags:
|
||||
Add: [
|
||||
-DSSIZE_MAX,
|
||||
-DLWIP_NO_UNISTD_H=1,
|
||||
-Dssize_t=long,
|
||||
-D_SSIZE_T_DECLARED,
|
||||
-Wno-unknown-warning-option
|
||||
]
|
||||
Remove: [
|
||||
-mlong-calls,
|
||||
-fno-tree-switch-conversion,
|
||||
-mtext-section-literals,
|
||||
-mlongcalls,
|
||||
-fstrict-volatile-bitfields,
|
||||
-free,
|
||||
-fipa-pta,
|
||||
-march=*,
|
||||
-mabi=*,
|
||||
-mcpu=*
|
||||
]
|
||||
Diagnostics:
|
||||
Suppress:
|
||||
- pp_including_mainfile_in_preamble
|
||||
- pp_expr_bad_token_start_expr
|
||||
- redefinition_different_typedef
|
||||
- main_returns_nonint
|
||||
Reference in New Issue
Block a user