Skip to content

Commit

Permalink
Exclude build/... from clang-tidy
Browse files Browse the repository at this point in the history
Too much noise from swig generated files.  There might be issues in
code from the .i but it isn't worth the trouble as there is no way
to separate it.

Signed-off-by: Matt Liberty <[email protected]>
  • Loading branch information
maliberty committed Jan 5, 2025
1 parent ccff167 commit 1d0871b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ CheckOptions:
value: _t

# All modules but sta
HeaderFilterRegex: ".*/(ant|cts|dbSta|dft|dpl|dpo|drt|dst|fin|gpl|grt|gui|ifp|mpl|mpl2|odb|ord|pad|par|pdn|ppl|psm|rcx|rmp|rsz|stt|tap|upf|utl)/.*"
# Exclude build as there is too much noise from swig generated code
HeaderFilterRegex: "(?!build/.*)/(ant|cts|dbSta|dft|dpl|dpo|drt|dst|fin|gpl|grt|gui|ifp|mpl|mpl2|odb|ord|pad|par|pdn|ppl|psm|rcx|rmp|rsz|stt|tap|upf|utl)/.*"

# Not currently handling identifier naming
# WarningsAsErrors: "*"
Expand Down

0 comments on commit 1d0871b

Please sign in to comment.