.clangd 602 B

123456789101112131415161718192021
  1. # Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. # Exceptions. See /LICENSE for license information.
  3. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. CompileFlags:
  5. # Workaround for https://github.com/clangd/clangd/issues/1582
  6. Remove: [-march=*]
  7. Diagnostics:
  8. # `unused-includes`: has false positives, reporting includes unused when
  9. # they are used.
  10. Suppress: [unused-includes]
  11. ---
  12. # Suppress common diagnostics for x-macro files.
  13. If:
  14. PathMatch: .*\.def
  15. Diagnostics:
  16. Suppress:
  17. # The `#error` requiring a macro definition.
  18. - pp_hash_error