Skip to content

Commit

Permalink
Add clang-tidy suppressions in language tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mi-La committed Sep 20, 2023
1 parent 7127dd5 commit 77b05ce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/language/choice_types/ClangTidySuppressions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ cppcoreguidelines-pro-type-member-init:gen/choice_types/empty_choice/EmptyChoice
cppcoreguidelines-pro-type-member-init:gen/choice_types/empty_choice_with_case/EmptyChoiceWithCase.cpp
cppcoreguidelines-pro-type-member-init:gen/choice_types/empty_choice_with_default/EmptyChoiceWithDefault.cpp
cppcoreguidelines-pro-type-member-init:gen/choice_types/enum_param_choice/EnumParamChoice.cpp
cppcoreguidelines-pro-type-member-init:gen/choice_types/enum_with_removed_item_param_choice/EnumWithRemovedItemParamChoice.cpp
cppcoreguidelines-pro-type-member-init:gen/choice_types/expression_selector_choice/ExpressionSelectorChoice.cpp
cppcoreguidelines-pro-type-member-init:gen/choice_types/full_enum_param_choice/FullEnumParamChoice.cpp
cppcoreguidelines-pro-type-member-init:gen/choice_types/function_returning_literal_selector_choice/Selector.cpp
Expand All @@ -25,6 +26,8 @@ cppcoreguidelines-pro-type-member-init:gen/choice_types/uint64_param_choice/UInt
google-explicit-constructor:gen/choice_types/bitmask_param_choice/Selector.h
google-explicit-constructor:gen/choice_types/full_bitmask_param_choice/Selector.h

hicpp-multiway-paths-covered:gen/choice_types/enum_with_removed_item_param_choice/Selector.cpp

performance-move-const-arg:gen/choice_types/choice_compatibility_check/ChoiceVersion1.cpp
performance-move-const-arg:gen/choice_types/choice_compatibility_check/ChoiceVersion2.cpp
performance-move-const-arg:gen/choice_types/choice_compatibility_check/HolderVersion1.cpp
Expand All @@ -43,6 +46,7 @@ readability-make-member-function-const:gen/choice_types/choice_compatibility_che
readability-make-member-function-const:gen/choice_types/choice_with_array/Data8.cpp
readability-make-member-function-const:gen/choice_types/default_empty_choice/DefaultEmptyChoice.cpp
readability-make-member-function-const:gen/choice_types/enum_param_choice/EnumParamChoice.cpp
readability-make-member-function-const:gen/choice_types/enum_with_removed_item_param_choice/EnumWithRemovedItemParamChoice.cpp
readability-make-member-function-const:gen/choice_types/expression_selector_choice/ExpressionSelectorChoice.cpp
readability-make-member-function-const:gen/choice_types/full_bitmask_param_choice/FullBitmaskParamChoice.cpp
readability-make-member-function-const:gen/choice_types/full_enum_param_choice/FullEnumParamChoice.cpp
Expand Down
5 changes: 5 additions & 0 deletions test/language/enumeration_types/ClangTidySuppressions.txt
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
cert-err58-cpp:cpp/BitfieldEnumTest.cpp

google-build-using-namespace:cpp/DeprecatedEnumItemTest.cpp
google-build-using-namespace:cpp/RemovedEnumItemTest.cpp

hicpp-multiway-paths-covered:gen/enumeration_types/removed_enum_item/Traffic.cpp

0 comments on commit 77b05ce

Please sign in to comment.