generated from jnooree/c-like-templ
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clangd
52 lines (51 loc) · 1.09 KB
/
.clangd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#
# Project NuriKit - Copyright 2023 SNU Compbio Lab.
# SPDX-License-Identifier: Apache-2.0
#
# Require clangd v17
CompileFlags:
# If these flags are updated, .clang-tidy should be updated as well
Add:
- -xc++
- -Weverything
- -Wno-c++98-compat
- -Wno-c++98-compat-pedantic
- -Wno-c++98-c++11-compat-binary-literal
- -Wno-c++03-compat
- -Wno-exit-time-destructors
- -Wno-global-constructors
- -Wno-thread-safety-negative
- -Wno-sign-compare
- -Wno-sign-conversion
- -Wno-padded
- -Wno-weak-vtables
- -Wno-ignored-optimization-argument
- -Wno-unused-macros
- -Wno-disabled-macro-expansion
- -Wno-unsafe-buffer-usage
- -Wno-switch-default
Remove:
- "-fsanitize=*"
- "-flto*"
Index:
StandardLibrary: Yes
Style:
FullyQualifiedNamespaces: true
Diagnostics:
UnusedIncludes: Strict
Completion:
AllScopes: true
Hover:
ShowAKA: Yes
InlayHints:
BlockEnd: Yes
Designators: Yes
Enabled: Yes
ParameterNames: Yes
DeducedTypes: Yes
---
If:
PathMatch: "third-party/.*"
Diagnostics:
Suppress: "*"
UnusedIncludes: None