CompileFlags:
  # 指向 build 目录中的 compile_commands.json
  CompilationDatabase: build/
  # 移除 clang 不认识的 GCC 特有参数
  Remove:
    - -gstrict-dwarf

Diagnostics:
  # 抑制嵌入式代码中常见的 unwanted 警告
  Suppress:
    - unused-parameter
    - missing-prototypes
    - redundant-decls

Index:
  # 后台索引线程数
  Background: Build

Completion:
  AllScopes: true
