Skip to content

Commit f8da426

Browse files
committed
Remove clang-diagnostics-default-const-init-var-unsafe from the default profile
The warning is a portability checker (between C and C++) and hence should not be placed in the default profile.
1 parent 7a974c9 commit f8da426

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

config/labels/analyzers/clang-tidy.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2178,8 +2178,7 @@
21782178
"severity:MEDIUM"
21792179
],
21802180
"clang-diagnostic-default-const-init-var": [
2181-
"doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wdefault-const-init-var",
2182-
"profile:default",
2181+
"doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wdefault-const-init-var",
21832182
"profile:extreme",
21842183
"profile:sensitive",
21852184
"severity:MEDIUM"

0 commit comments

Comments
 (0)