Files
nulsl-libc/.clangd
T
huntedbytheirsandSisyphus 6768ec36e7 Add editor tooling configuration
clangd fallback flags, clang-format style, clang-tidy checks, and gitignore for the autotools-generated artifacts.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <[email protected]>
2026-08-30 04:09:45 -04:00

20 lines
513 B
YAML

# .clangd — LSP configuration for nulsl-libc.
#
# Fallback flags used when compile_commands.json is absent. After running
# `make compile_commands` (requires bear), clangd uses the exact build
# flags from bin/release/ instead, and these are merged on top.
CompileFlags:
Compiler: clang
Add:
- -std=c17
- -Iinclude
- -ffreestanding
- -fno-builtin
- -Wall
- -Wextra
# Treat all headers as project headers so warnings apply inside them.
Diagnostics:
Suppress:
- unknown-pragmas