Skip to content

Commit 1f0e5f6

Browse files
authored
[clangd] Allow *.h file as c++ header (#128)
1 parent 5cd9834 commit 1f0e5f6

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.clangd

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# -*- mode: yaml; mode: flyspell-prog; -*-
2+
3+
If:
4+
PathMatch: .*\.h
5+
CompileFlags:
6+
Add: [-xc++]
7+
8+
CompileFlags:
9+
Add:
10+
- -Idebugger
11+
12+
Diagnostics:
13+
ClangTidy:
14+
Remove:
15+
# suppress ExtendedClass::parentClassMethod
16+
- readability-qualified-auto
17+
18+

0 commit comments

Comments
 (0)