Skip to content

Commit 1fc8ede

Browse files
anonrigtargos
authored andcommitted
src: update clang-tidy and focus on modernization
PR-URL: #53757 Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent bf7d7ae commit 1fc8ede

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/.clang-tidy

+4
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,19 @@ Checks: '-*,
55
modernize-deprecated-headers,
66
modernize-make-unique,
77
modernize-make-shared,
8+
modernize-raw-string-literal,
89
modernize-redundant-void-arg,
910
modernize-replace-random-shuffle,
1011
modernize-shrink-to-fit,
12+
modernize-use-default-member-init,
1113
modernize-use-bool-literals,
1214
modernize-use-emplace,
1315
modernize-use-equals-default,
1416
modernize-use-nullptr,
1517
modernize-use-override,
18+
modernize-use-starts-ends-with,
1619
performance-faster-string-find,
20+
performance-implicit-conversion-in-loop,
1721
# performance-unnecessary-value-param, see https://github.com/nodejs/node/pull/26042
1822
readability-delete-null-pointer, '
1923
WarningsAsErrors: ''

0 commit comments

Comments
 (0)