Skip to content

Commit

Permalink
Update clang-tidy config file
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardnormier committed Dec 11, 2024
1 parent 987d918 commit 288dfec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ Checks:
performance-*,
-performance-avoid-endl
'
WarningsAsErrors: ''
# WarningsAsErrors: '*'
HeaderFilterRegex: ''
UseColor: true
FormatStyle: 'file'
ExtraArgs: ['-std=c++17']
CheckOptions:
- { key: modernize-use-nullptr.NullMacros, value: 'NULL' }
modernize-use-nullptr.NullMacros: 'NULL'
# std::exception_ptr is a cheap to copy, pointer-like type; we pass it by value all the time.
- { key: performance-unnecessary-value-param.AllowedTypes, value: 'std::exception_ptr' }
performance-unnecessary-value-param.AllowedTypes: 'exception_ptr$;'

0 comments on commit 288dfec

Please sign in to comment.