Skip to content

Commit

Permalink
Enable misc-definitions-in-headers clang-tidy check
Browse files Browse the repository at this point in the history
To find non-extern non-inline function definitions.
  • Loading branch information
makortel committed Jun 7, 2021
1 parent 8ba8d41 commit e4a1c20
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .clang-tidy
@@ -1,6 +1,7 @@
---
Checks: -*,
,boost-use-to-string,
,misc-definitions-in-headers,
,misc-string-compare,
,misc-uniqueptr-reset-release,
,modernize-deprecated-headers,
Expand Down Expand Up @@ -32,6 +33,8 @@ CheckOptions:
value: '10'
- key: google-readability-namespace-comments.SpacesBeforeComments
value: '2'
- key: misc-definitions-in-headers.HeaderFileExtensions
value: 'h,hh,hpp,hxx,icc'
- key: modernize-loop-convert.MaxCopySize
value: '16'
- key: modernize-loop-convert.MinConfidence
Expand Down

0 comments on commit e4a1c20

Please sign in to comment.