Files
Azat Khuzhin b22cb0ec74 Configure clangd to always use angled brackets
Finally clangd has an option for this, I've tested that clangd from
upstream and it works like a charm.

Note, that this config is compatible with older clangd as well.

Signed-off-by: Azat Khuzhin <[email protected]>
2025-01-03 19:01:45 +01:00

20 lines
776 B
YAML

Diagnostics:
# clangd does parse .clang-tidy, but some checks are too slow to run in
# clang-tidy build, so let's enable them explicitly for clangd at least.
ClangTidy:
# The following checks had been disabled due to slowliness with C++23,
# for more details see [1].
#
# [1]: https://github.com/llvm/llvm-project/issues/61418
#
# But the code base had been written in a style that had been checked
# by this check, so at least, let's enable it for clangd.
Add: [
# configured in .clang-tidy
readability-identifier-naming,
bugprone-reserved-identifier,
]
# Require LLVM 20 (https://github.com/llvm/llvm-project/pull/67749)
Style:
AngledHeaders: [".*"]