Skip to content

Commit c102091

Browse files
authored
Treat Clang-Tidy warnings as errors by default (#15573)
1 parent 57b14e9 commit c102091

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎.clang-tidy‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ Checks:
1818
- modernize-use-uncaught-exceptions
1919
- readability-braces-around-statements
2020
- -clang-diagnostic-vla-cxx-extension
21+
# Select which of the enabled checks should be reported as errors instead of warnings.
22+
WarningsAsErrors: >-
23+
*,
2124
CheckOptions:
2225
# Naming conventions
2326
readability-identifier-naming.ClassCase: CamelCase

0 commit comments

Comments
 (0)