forked from zeldaret/tp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clangd
More file actions
32 lines (32 loc) · 697 Bytes
/
.clangd
File metadata and controls
32 lines (32 loc) · 697 Bytes
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
CompileFlags:
Add: [
"-Wno-c++11-compat-deprecated-writable-strings",
"-Wno-extern-initializer",
"-Wno-multichar",
"-fdeclspec",
"-Wno-c++11-extensions",
]
Diagnostics:
Suppress:
- "warn_char_constant_too_large"
- "illegal_union_or_anon_struct_member"
---
If:
PathMatch: .*/*.inc
Diagnostics:
Suppress:
- "undeclared_var_use"
- "undeclared_var_use_suggest"
- "bound_member_function"
- "typecheck_subscript_value"
- "unknown_typename"
---
If:
PathMatch: src/PowerPC_EABI_Support/MSL/MSL_C\+\+/.*\.h
CompileFlags:
Add: ["--language=c++", "--std=c++98"]
---
If:
PathMatch: .*\.pch
CompileFlags:
Add: ["--language=c++", "--std=c++98"]