BuildSystem: Export compile commands for clangd

This commit is contained in:
2024-09-26 15:14:54 +03:00
parent b89fc3fe87
commit e6ed5a388d
3 changed files with 21 additions and 2 deletions

13
.clangd Normal file
View File

@@ -0,0 +1,13 @@
Diagnostics:
Suppress: target_unsupported_type
CompileFlags:
Remove: [
-fstrict-volatile-bitfields,
-fno-tree-loop-distribute-patterns
]
Add: [
-D__banan_os__,
-D__arch__=x86_64,
-D__x86_64__
]