diff --git a/tools/clang-tidy/config.yaml b/tools/clang-tidy/config.yaml index 4e75b52eacfb6..773e92914faf5 100644 --- a/tools/clang-tidy/config.yaml +++ b/tools/clang-tidy/config.yaml @@ -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: