Skip to content

Commit

Permalink
Bug 1822949: Add EnumSet to "performance-unnecessary-value-param.Allo…
Browse files Browse the repository at this point in the history
…wedTypes". r=linter-reviewers,sylvestre

Differential Revision: https://phabricator.services.mozilla.com/D196328

UltraBlame original commit: 928692165b67f48d38811e6166d2bb787f9edd95
  • Loading branch information
marco-c committed Jan 25, 2024
1 parent a2bc966 commit 4a53467
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/clang-tidy/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,11 @@ clang_checkers:
reliability: high
- name: performance-unnecessary-value-param
reliability: high
config:
- key: AllowedTypes
# Allow EnumSet because it only has a non-trivial copy constructor
# in debug builds.
value: ::mozilla::EnumSet
- name: readability-braces-around-statements
reliability: high
config:
Expand Down

0 comments on commit 4a53467

Please sign in to comment.