Skip to content

Commit

Permalink
clang-tidy: error on Malloc check
Browse files Browse the repository at this point in the history
This cause clang-tidy to exit with error if we encounter the warning
about a potential memory leak.
  • Loading branch information
regit committed Jan 11, 2025
1 parent 75eb6fb commit 918fa00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Checks: "
"
WarningsAsErrors: "
bugprone-unsafe-functions,
clang-analyzer-unix.Malloc,
"
HeaderFileExtensions:
- ''
Expand Down

0 comments on commit 918fa00

Please sign in to comment.