Skip to content

Commit ef932ba

Browse files
committed
Disable a bunch of stuff in clangd as it's buggy in C++20 or noisy
Disable strict unused includes due to C++20 concepts bug Disable all errors, it gets a lot wrong in C++20 Disable clangd parameter name hints. They show up on UDLs as well which is super confusing, and we use UDLs a lot Disable more of clangd that is excessive noise
1 parent a618f06 commit ef932ba

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.clangd

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Diagnostics:
2+
# Disabled due to C++ concepts bug: https://github.com/llvm/llvm-project/issues/60702
3+
UnusedIncludes: None
4+
# Disabled since many errors in C++20 that don't match what the compiler produces.
5+
Suppress: "*"
6+
InlayHints:
7+
# Disabled due to UDLs getting hints: https://github.com/llvm/llvm-project/issues/63898
8+
ParameterNames: No
9+
# Disabled due noise in arrays.
10+
Designators: No
11+
# Disabled due to destroying visual line wrapping, since parameters don't start
12+
# on the next line.
13+
DeducedTypes: No

0 commit comments

Comments
 (0)