Skip to content

Commit 53ae95c

Browse files
authored
Add -fdeclspec to clangd to avoid warning (#2315)
1 parent 294d104 commit 53ae95c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.clangd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CompileFlags:
2-
Add: [-Wno-c++11-compat-deprecated-writable-strings, -Wno-extern-initializer, -Wno-multichar]
2+
Add: [-Wno-c++11-compat-deprecated-writable-strings, -Wno-extern-initializer, -Wno-multichar, "-fdeclspec"]
33
Diagnostics:
44
Suppress:
55
- "warn_char_constant_too_large"

0 commit comments

Comments
 (0)