Skip to content

Commit 5d2198a

Browse files
committed
WIP: non-const globals in clang-tidy
1 parent a483b6d commit 5d2198a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.clang-tidy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Checks: >-
88
clang-analyzer-*,
99
-clang-analyzer-optin.core.EnumCastOutOfRange,
1010
11+
cppcoreguidelines-avoid-non-const-global-variables,
12+
1113
bugprone-*,
1214
-bugprone-unchecked-optional-access,
1315
,# This is ridiculous, as it triggers on constants,

0 commit comments

Comments
 (0)