CompileFlags:
  # Use gcc in development for better diagnostics
  # & Ensure that compilation doesn't fail due to warnings
  Compiler: gcc
  Add:
    - -xc
    - -std=c99
    - -DATSDK_DEBUG_MODE
    - -Wno-error
    - -Wall
    - -Wextra
    - -Werror-implicit-function-declaration
    - -Wtype-limits
    - -Wimplicit-fallthrough
    - -Wmissing-field-initializers

Index:
  # Enable background indexing for better symbol information
  Background: Build

Diagnostics:
  # IWYU for header files
  UnusedIncludes: Strict
  # MissingIncludes: Strict # not all versions of clangd support the appropriate pragmas to suppress warnings generated by this
  # Avoid running slow clang-tidy checks
  ClangTidy:
    FastCheckFilter: Loose
