# clangd language-server configuration for vlibc.
# Provides fallback flags so the LSP reports errors on valid code even before
# compile_commands.json is regenerated (see layouts/C.md).

CompileFlags:
  CompilationDatabase: .
  Add:
    - -std=c23
    - -Iinclude

Diagnostics:
  UnusedIncludes: Strict
  ClangTidy:
    Add:
      - bugprone-*
      - clang-analyzer-*

Index:
  Background: Build
