From 2035e322f37a6457a7f66035d414d9a5a67a2328 Mon Sep 17 00:00:00 2001 From: Milan Kriz Date: Fri, 2 Aug 2024 18:04:13 +0200 Subject: [PATCH] Revert "Remove cppcoreguidelines-pro-type-reinterpret-cast from suppressions" This reverts commit 99fef459234fc3521a634fda55679b67eb5810dc. --- .../allow_implicit_arrays/ClangTidySuppressions.txt | 2 ++ .../set_cpp_allocator/ClangTidySuppressions.txt | 2 ++ .../ClangTidySuppressions.txt | 2 ++ .../with_type_info_code/ClangTidySuppressions.txt | 6 ++++++ .../with_validation_code/ClangTidySuppressions.txt | 13 +++++++++++++ .../without_writer_code/ClangTidySuppressions.txt | 2 ++ test/language/comments/ClangTidySuppressions.txt | 5 +++++ .../explicit_parameters/ClangTidySuppressions.txt | 8 ++++++++ .../sql_constraints/ClangTidySuppressions.txt | 3 +++ .../sql_databases/ClangTidySuppressions.txt | 2 ++ test/language/sql_tables/ClangTidySuppressions.txt | 13 +++++++++++++ test/language/sql_types/ClangTidySuppressions.txt | 1 + .../sql_virtual_columns/ClangTidySuppressions.txt | 2 ++ .../sql_virtual_tables/ClangTidySuppressions.txt | 2 ++ .../ClangTidySuppressions.txt | 4 ++++ test/language/templates/ClangTidySuppressions.txt | 6 ++++++ .../comments_warning/ClangTidySuppressions.txt | 9 +++++++++ .../packages_warning/ClangTidySuppressions.txt | 2 ++ .../sql_tables_warning/ClangTidySuppressions.txt | 8 ++++++++ .../ClangTidySuppressions.txt | 2 ++ .../unused_type_warning/ClangTidySuppressions.txt | 3 +++ 21 files changed, 97 insertions(+) diff --git a/test/arguments/allow_implicit_arrays/ClangTidySuppressions.txt b/test/arguments/allow_implicit_arrays/ClangTidySuppressions.txt index 9831f395e..ecb6900dc 100644 --- a/test/arguments/allow_implicit_arrays/ClangTidySuppressions.txt +++ b/test/arguments/allow_implicit_arrays/ClangTidySuppressions.txt @@ -14,4 +14,6 @@ cert-err58-cpp:cpp/ImplicitArrayUInt64Test.cpp cppcoreguidelines-pro-type-member-init:gen/allow_implicit_arrays/table_with_implicit_array/TableWithImplicitArray.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/allow_implicit_arrays/table_with_implicit_array/TableWithImplicitArray.cpp + fuchsia-multiple-inheritance:gen/allow_implicit_arrays/table_with_implicit_array/DbWithImplicitArray.h diff --git a/test/arguments/set_cpp_allocator/ClangTidySuppressions.txt b/test/arguments/set_cpp_allocator/ClangTidySuppressions.txt index c52be8c72..5eb7a3f39 100644 --- a/test/arguments/set_cpp_allocator/ClangTidySuppressions.txt +++ b/test/arguments/set_cpp_allocator/ClangTidySuppressions.txt @@ -16,6 +16,8 @@ cppcoreguidelines-pro-type-member-init:gen_complex_allocation/complex_allocation cppcoreguidelines-pro-type-member-init:gen_sql_allocation/sql_allocation/ParameterizedBlob.cpp cppcoreguidelines-pro-type-member-init:gen_sql_allocation/sql_allocation/SqlAllocationTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen_sql_allocation/sql_allocation/SqlAllocationTable.cpp + fuchsia-multiple-inheritance:gen_sql_allocation/sql_allocation/SqlAllocationDb.h google-build-using-namespace:cpp/ComplexAllocationTest.cpp diff --git a/test/arguments/with_sources_amalgamation/ClangTidySuppressions.txt b/test/arguments/with_sources_amalgamation/ClangTidySuppressions.txt index 8ad199bb1..e92a8cee8 100644 --- a/test/arguments/with_sources_amalgamation/ClangTidySuppressions.txt +++ b/test/arguments/with_sources_amalgamation/ClangTidySuppressions.txt @@ -3,6 +3,8 @@ bugprone-reserved-identifier:gen/___/Empty.h cppcoreguidelines-pro-type-member-init:gen/with_sources_amalgamation/WithSourcesAmalgamation.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/with_sources_amalgamation/WithSourcesAmalgamation.cpp + fuchsia-multiple-inheritance:gen/with_sources_amalgamation/WorldDb.h google-explicit-constructor:gen/with_sources_amalgamation/Group.h diff --git a/test/arguments/with_type_info_code/ClangTidySuppressions.txt b/test/arguments/with_type_info_code/ClangTidySuppressions.txt index a7619ac36..dd8f2c523 100644 --- a/test/arguments/with_type_info_code/ClangTidySuppressions.txt +++ b/test/arguments/with_type_info_code/ClangTidySuppressions.txt @@ -23,6 +23,12 @@ cppcoreguidelines-pro-type-member-init:gen/with_type_info_code/TemplatedSqlTable cppcoreguidelines-pro-type-member-init:gen/with_type_info_code/TemplatedSqlTable_uint32.cpp cppcoreguidelines-pro-type-member-init:gen/with_type_info_code/WithoutRowIdTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/with_type_info_code/Fts4Table.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/with_type_info_code/SqlTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/with_type_info_code/TemplatedSqlTableU8.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/with_type_info_code/TemplatedSqlTable_uint32.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/with_type_info_code/WithoutRowIdTable.cpp + fuchsia-multiple-inheritance:gen/with_type_info_code/SqlDatabase.h google-build-using-namespace:cpp/DebugStringTest.cpp diff --git a/test/arguments/with_validation_code/ClangTidySuppressions.txt b/test/arguments/with_validation_code/ClangTidySuppressions.txt index c18f1f2f7..6c66fecff 100644 --- a/test/arguments/with_validation_code/ClangTidySuppressions.txt +++ b/test/arguments/with_validation_code/ClangTidySuppressions.txt @@ -20,6 +20,19 @@ cppcoreguidelines-pro-type-member-init:gen/with_validation_code/simple_table_val cppcoreguidelines-pro-type-member-init:gen/with_validation_code/virtual_table_validation/TestTable.cpp cppcoreguidelines-pro-type-member-init:gen/with_validation_code/virtual_table_validation/VirtualTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/with_validation_code/blob_table_validation/BlobTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/with_validation_code/column_type_validation/ColumnTypeTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/with_validation_code/constraint_table_validation/ConstraintTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/with_validation_code/control_validation/Table1.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/with_validation_code/control_validation/Table2.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/with_validation_code/control_validation/Table3.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/with_validation_code/depend_table_validation/DependTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/with_validation_code/full_range_table_validation/FullRangeTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/with_validation_code/hidden_column_table_validation/HiddenColumnTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/with_validation_code/simple_table_validation/SimpleTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/with_validation_code/virtual_table_validation/TestTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/with_validation_code/virtual_table_validation/VirtualTable.cpp + fuchsia-multiple-inheritance:gen/with_validation_code/blob_table_validation/BlobTableValidationDb.h fuchsia-multiple-inheritance:gen/with_validation_code/column_type_validation/ColumnTypeDb.h fuchsia-multiple-inheritance:gen/with_validation_code/constraint_table_validation/ConstraintTableValidationDb.h diff --git a/test/arguments/without_writer_code/ClangTidySuppressions.txt b/test/arguments/without_writer_code/ClangTidySuppressions.txt index d3d878f33..92864ef69 100644 --- a/test/arguments/without_writer_code/ClangTidySuppressions.txt +++ b/test/arguments/without_writer_code/ClangTidySuppressions.txt @@ -7,6 +7,8 @@ cppcoreguidelines-pro-type-member-init:gen/without_writer_code/GeoMapTable.cpp cppcoreguidelines-pro-type-member-init:gen/without_writer_code/ItemChoice.cpp cppcoreguidelines-pro-type-member-init:gen/without_writer_code/Item.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/without_writer_code/GeoMapTable.cpp + google-explicit-constructor:gen/without_writer_code/VersionAvailability.h hicpp-signed-bitwise:gen/without_writer_code/VersionAvailability.h diff --git a/test/language/comments/ClangTidySuppressions.txt b/test/language/comments/ClangTidySuppressions.txt index 2c4648837..314f35fe1 100644 --- a/test/language/comments/ClangTidySuppressions.txt +++ b/test/language/comments/ClangTidySuppressions.txt @@ -15,6 +15,11 @@ cppcoreguidelines-pro-type-member-init:gen/comments/markdown_doc/struct_comments cppcoreguidelines-pro-type-member-init:gen/comments/markdown_doc/union_comments/TestUnion.cpp cppcoreguidelines-pro-type-member-init:gen/comments/mixed_doc/struct_comments/DirectionStructure.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/comments/classic_doc/sql_table_comments/VirtualTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/comments/markdown_doc/sql_table_comments/VirtualTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/comments/classic_doc/sql_database_comments/Table.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/comments/markdown_doc/sql_database_comments/Table.cpp + fuchsia-multiple-inheritance:gen/comments/classic_doc/sql_database_comments/Db.h fuchsia-multiple-inheritance:gen/comments/markdown_doc/sql_database_comments/Db.h diff --git a/test/language/explicit_parameters/ClangTidySuppressions.txt b/test/language/explicit_parameters/ClangTidySuppressions.txt index 2763edcba..079fcbc5d 100644 --- a/test/language/explicit_parameters/ClangTidySuppressions.txt +++ b/test/language/explicit_parameters/ClangTidySuppressions.txt @@ -21,6 +21,14 @@ cppcoreguidelines-pro-type-member-init:gen/explicit_parameters/multiple_with_sam cppcoreguidelines-pro-type-member-init:gen/explicit_parameters/multiple_with_same_name/Parameterized1.cpp cppcoreguidelines-pro-type-member-init:gen/explicit_parameters/multiple_with_same_name/Parameterized2.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/explicit_parameters/explicit_bitmask_param/BitmaskParamTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/explicit_parameters/explicit_blob_param/BlobParamTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/explicit_parameters/explicit_enum_param/EnumParamTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/explicit_parameters/explicit_same_as_field/SameAsFieldTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/explicit_parameters/explicit_simple_param/SimpleParamTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/explicit_parameters/multiple_explicit_params/MultipleParamsTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/explicit_parameters/multiple_with_same_name/MultipleWithSameNameTable.cpp + fuchsia-multiple-inheritance:gen/explicit_parameters/ExplicitParametersDb.h google-explicit-constructor:gen/explicit_parameters/explicit_bitmask_param/TestBitmask.h diff --git a/test/language/sql_constraints/ClangTidySuppressions.txt b/test/language/sql_constraints/ClangTidySuppressions.txt index c8b7da9a0..29f055948 100644 --- a/test/language/sql_constraints/ClangTidySuppressions.txt +++ b/test/language/sql_constraints/ClangTidySuppressions.txt @@ -1,4 +1,7 @@ cppcoreguidelines-pro-type-member-init:gen/sql_constraints/field_constraints/FieldConstraintsTable.cpp cppcoreguidelines-pro-type-member-init:gen/sql_constraints/table_constraints/TableConstraintsTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_constraints/field_constraints/FieldConstraintsTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_constraints/table_constraints/TableConstraintsTable.cpp + fuchsia-multiple-inheritance:gen/sql_constraints/TestDb.h diff --git a/test/language/sql_databases/ClangTidySuppressions.txt b/test/language/sql_databases/ClangTidySuppressions.txt index 9eb88747c..7e6b19951 100644 --- a/test/language/sql_databases/ClangTidySuppressions.txt +++ b/test/language/sql_databases/ClangTidySuppressions.txt @@ -1,6 +1,8 @@ cppcoreguidelines-pro-type-member-init:gen/sql_databases/db_with_relocation/CountryMapTable.cpp cppcoreguidelines-pro-type-member-init:gen/sql_databases/simple_db/GeoMapTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_databases/db_with_relocation/CountryMapTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_databases/simple_db/GeoMapTable.cpp cppcoreguidelines-pro-type-reinterpret-cast:cpp/DbWithRelocationTest.cpp cppcoreguidelines-pro-type-reinterpret-cast:cpp/SimpleDbTest.cpp diff --git a/test/language/sql_tables/ClangTidySuppressions.txt b/test/language/sql_tables/ClangTidySuppressions.txt index 73de878e5..001293ab8 100644 --- a/test/language/sql_tables/ClangTidySuppressions.txt +++ b/test/language/sql_tables/ClangTidySuppressions.txt @@ -26,6 +26,19 @@ cppcoreguidelines-pro-type-member-init:gen/sql_tables/subtyped_enum_field_table/ cppcoreguidelines-pro-type-member-init:gen/sql_tables/subtyped_table/TestTable.cpp cppcoreguidelines-pro-type-member-init:gen/sql_tables/without_pk_table/WithoutPkTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_tables/blob_field_with_children_initialization_table/BlobFieldWithChildrenInitializationTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_tables/blob_offsets_param_table/BlobOffsetsParamTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_tables/blob_param_table/BlobParamTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_tables/column_param_table/ColumnParamTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_tables/complex_table/ComplexTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_tables/const_param_table/ConstParamTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_tables/dynamic_bit_field_enum_field_table/DynamicBitFieldEnumFieldTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_tables/multiple_pk_table/MultiplePkTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_tables/subtyped_bitmask_field_table/SubtypedBitmaskFieldTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_tables/subtyped_bool_field_table/SubtypedBoolFieldTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_tables/subtyped_enum_field_table/SubtypedEnumFieldTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_tables/subtyped_table/TestTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_tables/without_pk_table/WithoutPkTable.cpp cppcoreguidelines-pro-type-reinterpret-cast:cpp/BlobOffsetsParamTableTest.cpp cppcoreguidelines-pro-type-reinterpret-cast:cpp/BlobParamTableTest.cpp cppcoreguidelines-pro-type-reinterpret-cast:cpp/ColumnParamTableTest.cpp diff --git a/test/language/sql_types/ClangTidySuppressions.txt b/test/language/sql_types/ClangTidySuppressions.txt index 7925018ed..3bd8b3e1d 100644 --- a/test/language/sql_types/ClangTidySuppressions.txt +++ b/test/language/sql_types/ClangTidySuppressions.txt @@ -3,6 +3,7 @@ bugprone-signed-char-misuse:gen/sql_types/SqlTypesTable.cpp cppcoreguidelines-pro-type-member-init:gen/sql_types/SqlTypesTable.cpp cppcoreguidelines-pro-type-member-init:gen/sql_types/TestChoice.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_types/SqlTypesTable.cpp cppcoreguidelines-pro-type-reinterpret-cast:cpp/SqlTypesTest.cpp fuchsia-multiple-inheritance:gen/sql_types/SqlTypesDb.h diff --git a/test/language/sql_virtual_columns/ClangTidySuppressions.txt b/test/language/sql_virtual_columns/ClangTidySuppressions.txt index 27b7bce0e..4f671514e 100644 --- a/test/language/sql_virtual_columns/ClangTidySuppressions.txt +++ b/test/language/sql_virtual_columns/ClangTidySuppressions.txt @@ -1,6 +1,8 @@ cppcoreguidelines-pro-type-member-init:gen/sql_virtual_columns/hidden_virtual_columns/HiddenVirtualColumnsTable.cpp cppcoreguidelines-pro-type-member-init:gen/sql_virtual_columns/simple_virtual_columns/SimpleVirtualColumnsTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_virtual_columns/hidden_virtual_columns/HiddenVirtualColumnsTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_virtual_columns/simple_virtual_columns/SimpleVirtualColumnsTable.cpp cppcoreguidelines-pro-type-reinterpret-cast:cpp/HiddenVirtualColumnsTest.cpp cppcoreguidelines-pro-type-reinterpret-cast:cpp/SimpleVirtualColumnsTest.cpp diff --git a/test/language/sql_virtual_tables/ClangTidySuppressions.txt b/test/language/sql_virtual_tables/ClangTidySuppressions.txt index 259a2a6ba..0ac064fb4 100644 --- a/test/language/sql_virtual_tables/ClangTidySuppressions.txt +++ b/test/language/sql_virtual_tables/ClangTidySuppressions.txt @@ -1,6 +1,8 @@ cppcoreguidelines-pro-type-member-init:gen/sql_virtual_tables/fts3_virtual_table/Fts3VirtualTable.cpp cppcoreguidelines-pro-type-member-init:gen/sql_virtual_tables/fts5_virtual_table/Fts5VirtualTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_virtual_tables/fts3_virtual_table/Fts3VirtualTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_virtual_tables/fts5_virtual_table/Fts5VirtualTable.cpp cppcoreguidelines-pro-type-reinterpret-cast:cpp/Fts3VirtualTableTest.cpp cppcoreguidelines-pro-type-reinterpret-cast:cpp/Fts5VirtualTableTest.cpp diff --git a/test/language/sql_without_rowid_tables/ClangTidySuppressions.txt b/test/language/sql_without_rowid_tables/ClangTidySuppressions.txt index ae934765c..521a98f9d 100644 --- a/test/language/sql_without_rowid_tables/ClangTidySuppressions.txt +++ b/test/language/sql_without_rowid_tables/ClangTidySuppressions.txt @@ -2,6 +2,10 @@ cppcoreguidelines-pro-type-member-init:gen/sql_without_rowid_tables/rowid_and_wi cppcoreguidelines-pro-type-member-init:gen/sql_without_rowid_tables/rowid_and_without_rowid_tables/WithoutRowIdTable.cpp cppcoreguidelines-pro-type-member-init:gen/sql_without_rowid_tables/simple_without_rowid_table/SimpleWithoutRowIdTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_without_rowid_tables/rowid_and_without_rowid_tables/OrdinaryRowIdTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_without_rowid_tables/rowid_and_without_rowid_tables/WithoutRowIdTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_without_rowid_tables/simple_without_rowid_table/SimpleWithoutRowIdTable.cpp + fuchsia-multiple-inheritance:gen/sql_without_rowid_tables/rowid_and_without_rowid_tables/RowIdAndWithoutRowIdDb.h fuchsia-multiple-inheritance:gen/sql_without_rowid_tables/simple_without_rowid_table/SimpleWithoutRowIdDb.h diff --git a/test/language/templates/ClangTidySuppressions.txt b/test/language/templates/ClangTidySuppressions.txt index a834eff96..9b4798d12 100644 --- a/test/language/templates/ClangTidySuppressions.txt +++ b/test/language/templates/ClangTidySuppressions.txt @@ -110,6 +110,12 @@ cppcoreguidelines-pro-type-member-init:gen/templates/sql_table_templated_field/T cppcoreguidelines-pro-type-member-init:gen/templates/sql_table_templated_field/TemplatedTable_uint32.cpp cppcoreguidelines-pro-type-member-init:gen/templates/struct_templated_type_argument/Parameterized_uint32.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/templates/instantiate_sql_table/U32Table.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/templates/instantiate_type_as_sql_database_field/StringTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/templates/instantiate_type_as_sql_table_field/Test32Table.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/templates/sql_table_templated_field/TemplatedTable_Union.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/templates/sql_table_templated_field/TemplatedTable_uint32.cpp + fuchsia-multiple-inheritance:gen/templates/instantiate_type_as_sql_database_field/InstantiateTypeAsSqlDatabaseFieldDb.h fuchsia-multiple-inheritance:gen/templates/sql_table_templated_field/SqlTableTemplatedFieldDb.h diff --git a/test/warnings/comments_warning/ClangTidySuppressions.txt b/test/warnings/comments_warning/ClangTidySuppressions.txt index 3ce4f8d25..ea4b5797c 100644 --- a/test/warnings/comments_warning/ClangTidySuppressions.txt +++ b/test/warnings/comments_warning/ClangTidySuppressions.txt @@ -13,6 +13,15 @@ cppcoreguidelines-pro-type-member-init:gen_doc_comment_missing/doc_comment_missi cppcoreguidelines-pro-type-member-init:gen_doc_comment_missing/doc_comment_missing_warning/documented/DocumentedChoiceType.cpp cppcoreguidelines-pro-type-member-init:gen_doc_comment_missing/doc_comment_missing_warning/documented/DocumentedSqlTableType.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen_comments/comments_warning/markdown_comment_with_wrong_terminator/TestTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen_comments/comments_warning/unresolved_markdown_see_tag_reference/Table.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen_comments/comments_warning/unresolved_see_tag_reference/Table.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen_comments/comments_warning/unused_field_comments/Table.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen_comments/comments_warning/unused_struct_comment_by_id/Table.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen_comments/comments_warning/unused_struct_comment_multiple_comments/Table.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen_doc_comment_missing/doc_comment_missing_warning/all_nodes/SqlTableType.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen_doc_comment_missing/doc_comment_missing_warning/documented/DocumentedSqlTableType.cpp + fuchsia-multiple-inheritance:gen_comments/comments_warning/markdown_comment_with_wrong_terminator/TestDatabase.h fuchsia-multiple-inheritance:gen_comments/comments_warning/unresolved_markdown_see_tag_reference/Database.h fuchsia-multiple-inheritance:gen_comments/comments_warning/unresolved_see_tag_reference/Database.h diff --git a/test/warnings/packages_warning/ClangTidySuppressions.txt b/test/warnings/packages_warning/ClangTidySuppressions.txt index 68c1cde67..420361c07 100644 --- a/test/warnings/packages_warning/ClangTidySuppressions.txt +++ b/test/warnings/packages_warning/ClangTidySuppressions.txt @@ -1,5 +1,7 @@ cppcoreguidelines-pro-type-member-init:gen/packages_warning/simple_database/SimpleTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/packages_warning/simple_database/SimpleTable.cpp + fuchsia-multiple-inheritance:gen/packages_warning/package_import_overwrite_warning/TopDatabase.h fuchsia-multiple-inheritance:gen/packages_warning/simple_database/SimpleDatabase.h fuchsia-multiple-inheritance:gen/packages_warning/single_type_already_imported_warning/TopDatabase.h diff --git a/test/warnings/sql_tables_warning/ClangTidySuppressions.txt b/test/warnings/sql_tables_warning/ClangTidySuppressions.txt index 9d64b352d..d88e94208 100644 --- a/test/warnings/sql_tables_warning/ClangTidySuppressions.txt +++ b/test/warnings/sql_tables_warning/ClangTidySuppressions.txt @@ -6,6 +6,14 @@ cppcoreguidelines-pro-type-member-init:gen/sql_tables_warning/not_null_primary_k cppcoreguidelines-pro-type-member-init:gen/sql_tables_warning/not_null_primary_key_warning/NotNullPrimaryKeyTable2.cpp cppcoreguidelines-pro-type-member-init:gen/sql_tables_warning/no_primary_key_warning/NoPrimaryKeyTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_tables_warning/bad_ordered_primary_key_warning/BadOrderedPrimaryKeyTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_tables_warning/duplicated_primary_key_warning/DuplicatedPrimaryKeyTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_tables_warning/multiple_primary_keys_warning/MultiplePrimaryKeysTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_tables_warning/no_primary_key_warning/NoPrimaryKeyTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_tables_warning/not_first_primary_key_warning/NotFirstPrimaryKeyTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_tables_warning/not_null_primary_key_warning/NotNullPrimaryKeyTable1.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_tables_warning/not_null_primary_key_warning/NotNullPrimaryKeyTable2.cpp + fuchsia-multiple-inheritance:gen/sql_tables_warning/bad_ordered_primary_key_warning/BadOrderedPrimaryKeyDatabase.h fuchsia-multiple-inheritance:gen/sql_tables_warning/duplicated_primary_key_warning/DuplicatedPrimaryKeyDatabase.h fuchsia-multiple-inheritance:gen/sql_tables_warning/multiple_primary_keys_warning/MultiplePrimaryKeysDatabase.h diff --git a/test/warnings/sql_without_rowid_tables_warning/ClangTidySuppressions.txt b/test/warnings/sql_without_rowid_tables_warning/ClangTidySuppressions.txt index 4ae0fa0bd..a019ca108 100644 --- a/test/warnings/sql_without_rowid_tables_warning/ClangTidySuppressions.txt +++ b/test/warnings/sql_without_rowid_tables_warning/ClangTidySuppressions.txt @@ -1,3 +1,5 @@ cppcoreguidelines-pro-type-member-init:gen/sql_without_rowid_tables_warning/integer_primary_key_warning/WithoutRowIdTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/sql_without_rowid_tables_warning/integer_primary_key_warning/WithoutRowIdTable.cpp + fuchsia-multiple-inheritance:gen/sql_without_rowid_tables_warning/integer_primary_key_warning/WithoutRowIdDatabase.h diff --git a/test/warnings/unused_type_warning/ClangTidySuppressions.txt b/test/warnings/unused_type_warning/ClangTidySuppressions.txt index 96d1799bf..e82c663d6 100644 --- a/test/warnings/unused_type_warning/ClangTidySuppressions.txt +++ b/test/warnings/unused_type_warning/ClangTidySuppressions.txt @@ -5,6 +5,9 @@ cppcoreguidelines-pro-type-member-init:gen/unused_type_warning/UnusedChoice.cpp cppcoreguidelines-pro-type-member-init:gen/unused_type_warning/UnusedStructure.cpp cppcoreguidelines-pro-type-member-init:gen/unused_type_warning/UnusedTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/unused_type_warning/BoolStructureTable.cpp +cppcoreguidelines-pro-type-reinterpret-cast:gen/unused_type_warning/UnusedTable.cpp + fuchsia-multiple-inheritance:gen/unused_type_warning/BoolStructureDatabase.h readability-make-member-function-const:gen/unused_type_warning/BoolChoice.cpp