.clangd 757 B

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