Skip to content

Commit 3cab8aa

Browse files
committed
Update Clang-Tidy config file
- Treat warnings as errors by default.
1 parent 77c2fc3 commit 3cab8aa

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)