.clangd 662 B

123456789101112131415161718192021222324252627282930
  1. # https://clangd.llvm.org/config
  2. ---
  3. # Default conditions, apply everywhere.
  4. Diagnostics:
  5. Includes:
  6. IgnoreHeader:
  7. - \.compat\.inc
  8. ---
  9. # Header-specific conditions.
  10. If:
  11. PathMatch: .*\.(h|hh|hpp|hxx|inc)
  12. # Exclude certain, noisy warnings that lack full context. Replace with lowered severity if/when
  13. # clangd gets diagnostic severity support. (See: https://github.com/clangd/clangd/issues/1937)
  14. CompileFlags:
  15. Add:
  16. - -Wno-unneeded-internal-declaration
  17. - -Wno-unused-const-variable
  18. - -Wno-unused-function
  19. - -Wno-unused-variable
  20. ---
  21. # Suppress all third-party warnings.
  22. If:
  23. PathMatch: thirdparty/.*
  24. Diagnostics:
  25. Suppress: "*"