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

Lines changed: 4 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy