Skip to content

Commit 55bfe5d

Browse files
committed
tidy up clang config
1 parent 379564d commit 55bfe5d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.clang-tidy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Checks: '*,-fuchsia-*,-llvmlibc-*-namespace,-altera-struct-pack-align,-cppcoreguidelines-pro-bounds-pointer-arithmetic'
1+
Checks: '*,-fuchsia-*,-llvmlibc-*,-altera-struct-pack-align,-cppcoreguidelines-pro-bounds-pointer-arithmetic'
22

33
CheckOptions:
44
- key: llvmlibc-restrict-system-libc-headers.Includes
5-
value: -*,string,system_error,vector,iterator,algorithm
5+
value: -*,string,system_error,vector,iterator,algorithm,string_view,type_traits
66
- key: portability-restrict-system-includes.Includes
7-
value: -*,string,system_error,vector,iterator,algorithm
7+
value: -*,string,system_error,vector,iterator,algorithm,string_view,type_traits

.clangd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ Diagnostics:
1414
ClangTidy:
1515
Remove:
1616
- cppcoreguidelines-pro-bounds-pointer-arithmetic
17-
- llvmlibc-*-namespace
18-
- altera-struct-pack-align
17+
- llvmlibc-*
1918
- fuchsia-*
19+
- altera-struct-pack-align

0 commit comments

Comments
 (0)