From 3fe423895227bd89200ba0f97ee59db2f825f1b0 Mon Sep 17 00:00:00 2001 From: wangyantian Date: Fri, 24 Dec 2021 11:36:18 +0800 Subject: [PATCH] Fix serious codecheck warnings(generated by OpenHarmony CI on December 24, 2021) Signed-off-by: wangyantian --- assembler/assembly-debug.h | 2 -- assembler/assembly-label.h | 1 - assembler/assembly-literals.h | 1 - assembler/assembly-record.h | 1 - assembler/error.h | 2 -- assembler/lexer.h | 2 +- assembler/tests/mangling_tests.cpp | 4 +--- disassembler/accumulators.h | 1 - disassembler/disasm.cpp | 2 -- disassembler/disassembler.cpp | 6 ------ libpandabase/concepts.h | 1 - libpandabase/os/unix/failure_retry.h | 2 -- libpandabase/os/unix/time_unix.cpp | 1 - libpandabase/os/windows/error.cpp | 6 ------ libpandabase/tests/leb128_test.cpp | 6 ------ libpandabase/utils/leb128.h | 3 --- libpandabase/utils/terminate.cpp | 1 - libpandafile/annotation_data_accessor.cpp | 1 - libpandafile/ark_version.cpp | 5 ----- libpandafile/bytecode_emitter.cpp | 5 ----- libpandafile/class_data_accessor.cpp | 2 -- libpandafile/class_data_accessor.h | 2 -- libpandafile/code_data_accessor-inl.h | 2 -- libpandafile/code_data_accessor.cpp | 2 -- libpandafile/code_data_accessor.h | 2 -- libpandafile/debug_info_extractor.cpp | 4 ---- libpandafile/debug_info_extractor.h | 1 - libpandafile/field_data_accessor.cpp | 2 -- libpandafile/file_item_container.cpp | 7 ------- libpandafile/file_item_container.h | 1 - libpandafile/file_items.cpp | 3 --- libpandafile/literal_data_accessor.cpp | 1 - libpandafile/method_data_accessor.h | 5 ----- libpandafile/proto_data_accessor-inl.h | 2 -- libziparchive/tests/libziparchive_tests.cpp | 2 -- runtime/cframe.cpp | 3 --- runtime/class_linker.cpp | 6 ------ runtime/mem/allocator.cpp | 2 -- runtime/mem/gc/card_table.cpp | 2 -- runtime/mem/gc/gc_stats.cpp | 4 ---- runtime/mem/gc/gen-gc/gen-gc.cpp | 3 --- runtime/string_table.cpp | 2 -- runtime/tests/interpreter_test.cpp | 10 ---------- runtime/tests/math_helpers_test.cpp | 6 ------ runtime/tests/mem_stats_gc_test.cpp | 3 --- runtime/time_utils.cpp | 3 --- runtime/timing.cpp | 3 --- verification/cflow/cflow_check.cpp | 5 ----- verification/debug/options/method_selector.h | 1 - verification/job_queue/cache.cpp | 2 -- verification/type/tests/type_system_test.cpp | 2 -- verification/type/type_type.h | 2 -- verification/util/function_traits.h | 1 - verification/util/int_set.h | 1 - verification/util/range.h | 1 - verification/util/tests/environment.cpp | 2 -- 56 files changed, 2 insertions(+), 153 deletions(-) diff --git a/assembler/assembly-debug.h b/assembler/assembly-debug.h index cf1f325b31..38eea1d48d 100644 --- a/assembler/assembly-debug.h +++ b/assembler/assembly-debug.h @@ -16,8 +16,6 @@ #ifndef PANDA_ASSEMBLER_ASSEMBLY_DEBUG_H_ #define PANDA_ASSEMBLER_ASSEMBLY_DEBUG_H_ -#include -#include #include namespace panda::pandasm::debuginfo { diff --git a/assembler/assembly-label.h b/assembler/assembly-label.h index ea3e3ed127..204f1bfec6 100644 --- a/assembler/assembly-label.h +++ b/assembler/assembly-label.h @@ -17,7 +17,6 @@ #define PANDA_ASSEMBLER_ASSEMBLY_LABEL_H_ #include -#include #include "assembly-file-location.h" namespace panda::pandasm { diff --git a/assembler/assembly-literals.h b/assembler/assembly-literals.h index d58c50a70b..3b96264669 100644 --- a/assembler/assembly-literals.h +++ b/assembler/assembly-literals.h @@ -18,7 +18,6 @@ #include #include -#include #include "../libpandafile/literal_data_accessor.h" diff --git a/assembler/assembly-record.h b/assembler/assembly-record.h index 6e8c8a012e..b1a1bae5c0 100644 --- a/assembler/assembly-record.h +++ b/assembler/assembly-record.h @@ -22,7 +22,6 @@ #include #include "assembly-field.h" -#include "assembly-file-location.h" #include "extensions/extensions.h" #include "ide_helpers.h" diff --git a/assembler/error.h b/assembler/error.h index 57ca90df16..b30e717eab 100644 --- a/assembler/error.h +++ b/assembler/error.h @@ -18,8 +18,6 @@ #include -#include "define.h" - namespace panda::pandasm { struct Error { diff --git a/assembler/lexer.h b/assembler/lexer.h index 1198dafc96..bf6c6911ac 100644 --- a/assembler/lexer.h +++ b/assembler/lexer.h @@ -108,7 +108,7 @@ private: void LexPreprocess(); void SkipSpace(); void AnalyzeLine(); - Token::Type LexGetType(size_t, size_t) const; + Token::Type LexGetType(size_t beg, size_t end) const; }; /* diff --git a/assembler/tests/mangling_tests.cpp b/assembler/tests/mangling_tests.cpp index 0fe056bff8..6ecb5d3c5c 100644 --- a/assembler/tests/mangling_tests.cpp +++ b/assembler/tests/mangling_tests.cpp @@ -14,8 +14,6 @@ */ #include -#include -#include #include "mangling.h" #include "assembly-function.h" #include "extensions/extensions.h" @@ -44,4 +42,4 @@ TEST(mangling_tests, DeMangleFunctionName) ASSERT_EQ(DeMangleName(name), "Asm.main"); } -} // namespace panda::test \ No newline at end of file +} // namespace panda::test diff --git a/disassembler/accumulators.h b/disassembler/accumulators.h index 1c84bd955e..13f83a2d77 100644 --- a/disassembler/accumulators.h +++ b/disassembler/accumulators.h @@ -19,7 +19,6 @@ #include #include #include -#include namespace panda::disasm { using LabelTable = std::map; diff --git a/disassembler/disasm.cpp b/disassembler/disasm.cpp index 8eef3cdd44..999fca19bb 100644 --- a/disassembler/disasm.cpp +++ b/disassembler/disasm.cpp @@ -18,8 +18,6 @@ #include "utils/logger.h" #include "utils/pandargs.h" -#include - static void PrintHelp(const panda::PandArgParser &pa_parser) { std::cerr << "Usage:" << std::endl; diff --git a/disassembler/disassembler.cpp b/disassembler/disassembler.cpp index 6e36ee6db1..e21a44a64b 100644 --- a/disassembler/disassembler.cpp +++ b/disassembler/disassembler.cpp @@ -17,13 +17,7 @@ #include "mangling.h" #include "utils/logger.h" -#include -#include #include -#include -#include -#include -#include namespace panda::disasm { diff --git a/libpandabase/concepts.h b/libpandabase/concepts.h index a445f574c0..ba2cfb2934 100644 --- a/libpandabase/concepts.h +++ b/libpandabase/concepts.h @@ -16,7 +16,6 @@ #ifndef PANDA_LIBPANDABASE_CONCEPTS_H_ #define PANDA_LIBPANDABASE_CONCEPTS_H_ -#include #include namespace panda { diff --git a/libpandabase/os/unix/failure_retry.h b/libpandabase/os/unix/failure_retry.h index 893780689e..d6d398c2db 100644 --- a/libpandabase/os/unix/failure_retry.h +++ b/libpandabase/os/unix/failure_retry.h @@ -16,8 +16,6 @@ #ifndef PANDA_LIBPANDABASE_OS_UNIX_FAILURE_RETRY_H_ #define PANDA_LIBPANDABASE_OS_UNIX_FAILURE_RETRY_H_ -#include - // Mac Os' libc doesn't have this macro #ifndef TEMP_FAILURE_RETRY #define TEMP_FAILURE_RETRY(exp) \ diff --git a/libpandabase/os/unix/time_unix.cpp b/libpandabase/os/unix/time_unix.cpp index 1791c0ed4f..e20355e84e 100644 --- a/libpandabase/os/unix/time_unix.cpp +++ b/libpandabase/os/unix/time_unix.cpp @@ -13,7 +13,6 @@ * limitations under the License. */ -#include "time_unix.h" #include "time.h" // NOLINTNEXTLINE(modernize-deprecated-headers, hicpp-deprecated-headers) #include diff --git a/libpandabase/os/windows/error.cpp b/libpandabase/os/windows/error.cpp index a64946b0a8..d9f45a17ff 100644 --- a/libpandabase/os/windows/error.cpp +++ b/libpandabase/os/windows/error.cpp @@ -14,12 +14,6 @@ */ #include "os/error.h" -#include -#include - -#include - -#include namespace panda::os { diff --git a/libpandabase/tests/leb128_test.cpp b/libpandabase/tests/leb128_test.cpp index a56236b8f5..48c201d54e 100644 --- a/libpandabase/tests/leb128_test.cpp +++ b/libpandabase/tests/leb128_test.cpp @@ -15,12 +15,6 @@ #include "utils/leb128.h" -#include - -#include -#include -#include - #include #include diff --git a/libpandabase/utils/leb128.h b/libpandabase/utils/leb128.h index c6c14939b5..e7af480605 100644 --- a/libpandabase/utils/leb128.h +++ b/libpandabase/utils/leb128.h @@ -19,10 +19,7 @@ #include "bit_helpers.h" #include "bit_utils.h" -#include - #include -#include #include namespace panda::leb128 { diff --git a/libpandabase/utils/terminate.cpp b/libpandabase/utils/terminate.cpp index b4c2858a90..69cc324a19 100644 --- a/libpandabase/utils/terminate.cpp +++ b/libpandabase/utils/terminate.cpp @@ -14,7 +14,6 @@ */ #include -#include #include namespace panda::terminate { diff --git a/libpandafile/annotation_data_accessor.cpp b/libpandafile/annotation_data_accessor.cpp index 09cbe544fc..36fe176634 100644 --- a/libpandafile/annotation_data_accessor.cpp +++ b/libpandafile/annotation_data_accessor.cpp @@ -15,7 +15,6 @@ #include "annotation_data_accessor.h" #include "file_items.h" -#include "helpers.h" namespace panda::panda_file { diff --git a/libpandafile/ark_version.cpp b/libpandafile/ark_version.cpp index 8909fd6a6a..eed4c2429e 100644 --- a/libpandafile/ark_version.cpp +++ b/libpandafile/ark_version.cpp @@ -13,11 +13,6 @@ * limitations under the License. */ -#include "ark_version.h" - -#include -#include - namespace panda::panda_file { std::string GetVersion(const std::array &v) diff --git a/libpandafile/bytecode_emitter.cpp b/libpandafile/bytecode_emitter.cpp index c094072b05..1c6afb4031 100644 --- a/libpandafile/bytecode_emitter.cpp +++ b/libpandafile/bytecode_emitter.cpp @@ -13,14 +13,9 @@ * limitations under the License. */ -#include #include "bytecode_emitter.h" #include -#include -#include -#include #include -#include #include #include diff --git a/libpandafile/class_data_accessor.cpp b/libpandafile/class_data_accessor.cpp index 53adbcaa52..f3159e2db2 100644 --- a/libpandafile/class_data_accessor.cpp +++ b/libpandafile/class_data_accessor.cpp @@ -19,8 +19,6 @@ #include "utils/leb128.h" #include "utils/utf.h" -#include - namespace panda::panda_file { ClassDataAccessor::ClassDataAccessor(const File &panda_file, File::EntityId class_id) diff --git a/libpandafile/class_data_accessor.h b/libpandafile/class_data_accessor.h index 340052f092..db8d840779 100644 --- a/libpandafile/class_data_accessor.h +++ b/libpandafile/class_data_accessor.h @@ -21,8 +21,6 @@ #include "field_data_accessor.h" #include "method_data_accessor.h" -#include - namespace panda::panda_file { // NOLINTNEXTLINE(cppcoreguidelines-special-member-functions, hicpp-special-member-functions) diff --git a/libpandafile/code_data_accessor-inl.h b/libpandafile/code_data_accessor-inl.h index e76c051ee0..32a54cae30 100644 --- a/libpandafile/code_data_accessor-inl.h +++ b/libpandafile/code_data_accessor-inl.h @@ -18,8 +18,6 @@ #include "code_data_accessor.h" -#include - namespace panda::panda_file { template diff --git a/libpandafile/code_data_accessor.cpp b/libpandafile/code_data_accessor.cpp index 25fc0e81a6..695aedd486 100644 --- a/libpandafile/code_data_accessor.cpp +++ b/libpandafile/code_data_accessor.cpp @@ -15,8 +15,6 @@ #include "code_data_accessor.h" -#include "helpers.h" - namespace panda::panda_file { CodeDataAccessor::CatchBlock::CatchBlock(Span data) diff --git a/libpandafile/code_data_accessor.h b/libpandafile/code_data_accessor.h index 1c5601a2fc..e8abce4cee 100644 --- a/libpandafile/code_data_accessor.h +++ b/libpandafile/code_data_accessor.h @@ -18,8 +18,6 @@ #include "file-inl.h" -#include - namespace panda::panda_file { class CodeDataAccessor { diff --git a/libpandafile/debug_info_extractor.cpp b/libpandafile/debug_info_extractor.cpp index 9d39683d2e..f2bc608ffa 100644 --- a/libpandafile/debug_info_extractor.cpp +++ b/libpandafile/debug_info_extractor.cpp @@ -16,11 +16,7 @@ #include "debug_info_extractor.h" #include "line_program_state.h" #include "class_data_accessor-inl.h" -#include "code_data_accessor-inl.h" #include "debug_data_accessor-inl.h" -#include "helpers.h" -#include "method_data_accessor-inl.h" -#include "proto_data_accessor-inl.h" #include "utils/utf.h" namespace panda::panda_file { diff --git a/libpandafile/debug_info_extractor.h b/libpandafile/debug_info_extractor.h index 4b9f3cac4a..74e6d1ad10 100644 --- a/libpandafile/debug_info_extractor.h +++ b/libpandafile/debug_info_extractor.h @@ -18,7 +18,6 @@ #include "file.h" -#include #include #include #include diff --git a/libpandafile/field_data_accessor.cpp b/libpandafile/field_data_accessor.cpp index afaa8a34bb..cf7fbbe5e6 100644 --- a/libpandafile/field_data_accessor.cpp +++ b/libpandafile/field_data_accessor.cpp @@ -18,8 +18,6 @@ #include "utils/leb128.h" -#include - namespace panda::panda_file { FieldDataAccessor::FieldDataAccessor(const File &panda_file, File::EntityId field_id) diff --git a/libpandafile/file_item_container.cpp b/libpandafile/file_item_container.cpp index e941008b85..1d68a397a6 100644 --- a/libpandafile/file_item_container.cpp +++ b/libpandafile/file_item_container.cpp @@ -16,15 +16,8 @@ #include "file_item_container.h" #include "file_format_version.h" -#include "file-inl.h" -#include "helpers.h" #include "macros.h" -#include - -#include -#include - namespace panda::panda_file { class ItemDeduper { diff --git a/libpandafile/file_item_container.h b/libpandafile/file_item_container.h index 35356e9c0a..e44669edeb 100644 --- a/libpandafile/file_item_container.h +++ b/libpandafile/file_item_container.h @@ -23,7 +23,6 @@ #include #include #include -#include #include #include diff --git a/libpandafile/file_items.cpp b/libpandafile/file_items.cpp index 7f3e3b5604..5c744a8d30 100644 --- a/libpandafile/file_items.cpp +++ b/libpandafile/file_items.cpp @@ -14,15 +14,12 @@ */ #include "file_items.h" -#include "helpers.h" #include "macros.h" #include "utils/bit_utils.h" #include "utils/leb128.h" #include "utils/utf.h" -#include #include -#include namespace panda::panda_file { diff --git a/libpandafile/literal_data_accessor.cpp b/libpandafile/literal_data_accessor.cpp index 8bc3730fcc..8cc27020b6 100644 --- a/libpandafile/literal_data_accessor.cpp +++ b/libpandafile/literal_data_accessor.cpp @@ -14,7 +14,6 @@ */ #include "literal_data_accessor.h" -#include "helpers.h" namespace panda::panda_file { diff --git a/libpandafile/method_data_accessor.h b/libpandafile/method_data_accessor.h index d8990867a2..1e16c9fbed 100644 --- a/libpandafile/method_data_accessor.h +++ b/libpandafile/method_data_accessor.h @@ -20,11 +20,6 @@ #include "file_items.h" #include "modifiers.h" -#include -#include - -#include - namespace panda::panda_file { // NOLINTNEXTLINE(cppcoreguidelines-special-member-functions, hicpp-special-member-functions) diff --git a/libpandafile/proto_data_accessor-inl.h b/libpandafile/proto_data_accessor-inl.h index a02ee2fe7d..c89f6f6299 100644 --- a/libpandafile/proto_data_accessor-inl.h +++ b/libpandafile/proto_data_accessor-inl.h @@ -21,8 +21,6 @@ #include "file_items.h" #include "proto_data_accessor.h" -#include - namespace panda::panda_file { constexpr size_t SHORTY_ELEM_SIZE = sizeof(uint16_t); diff --git a/libziparchive/tests/libziparchive_tests.cpp b/libziparchive/tests/libziparchive_tests.cpp index fa57b3a216..547cfe4466 100644 --- a/libziparchive/tests/libziparchive_tests.cpp +++ b/libziparchive/tests/libziparchive_tests.cpp @@ -990,8 +990,6 @@ TEST(LIBZIPARCHIVE, OpenUncompressedArchiveFILE) ZipArchive object; // on stack, but this is tmp obj as we will CloseArchive this. ZipArchiveHandle zip_archive_handler = &object; - // ZipArchiveHandle zip_archive_handler = new ZipArchive; - // Delete the test archive, so it doesn't keep growing as we run this test remove(s_Test_archive_filename); diff --git a/runtime/cframe.cpp b/runtime/cframe.cpp index 19580de9b4..f2044c72ec 100644 --- a/runtime/cframe.cpp +++ b/runtime/cframe.cpp @@ -14,9 +14,6 @@ */ #include "runtime/include/cframe.h" - -#include - #include "runtime/include/runtime.h" #include "runtime/include/stack_walker.h" diff --git a/runtime/class_linker.cpp b/runtime/class_linker.cpp index f79fdada4e..df73d2b1b8 100644 --- a/runtime/class_linker.cpp +++ b/runtime/class_linker.cpp @@ -15,12 +15,6 @@ #include "runtime/include/class_linker.h" -#include -#include -#include - -#include "include/exceptions.h" -#include "include/language_context.h" #include "os/filesystem.h" #include "runtime/bridge/bridge.h" #include "runtime/class_initializer.h" diff --git a/runtime/mem/allocator.cpp b/runtime/mem/allocator.cpp index 03f1ba8015..11285efdbe 100644 --- a/runtime/mem/allocator.cpp +++ b/runtime/mem/allocator.cpp @@ -28,8 +28,6 @@ #include "runtime/mem/pygote_space_allocator-inl.h" #include "runtime/mem/tlab.h" -#include - namespace panda::mem { Allocator::~Allocator() = default; diff --git a/runtime/mem/gc/card_table.cpp b/runtime/mem/gc/card_table.cpp index c83ed6e10e..eeb576564c 100644 --- a/runtime/mem/gc/card_table.cpp +++ b/runtime/mem/gc/card_table.cpp @@ -15,8 +15,6 @@ #include "runtime/mem/gc/card_table.h" -#include - #include "trace/trace.h" #include "libpandabase/mem/mem.h" #include "libpandabase/utils/logger.h" diff --git a/runtime/mem/gc/gc_stats.cpp b/runtime/mem/gc/gc_stats.cpp index 907ebab02d..fee93b6838 100644 --- a/runtime/mem/gc/gc_stats.cpp +++ b/runtime/mem/gc/gc_stats.cpp @@ -13,10 +13,6 @@ * limitations under the License. */ -#include -#include -#include - #include "libpandabase/utils/time.h" #include "libpandabase/utils/type_converter.h" #include "runtime/include/runtime.h" diff --git a/runtime/mem/gc/gen-gc/gen-gc.cpp b/runtime/mem/gc/gen-gc/gen-gc.cpp index 3422d0d4b7..cb4fae8b78 100644 --- a/runtime/mem/gc/gen-gc/gen-gc.cpp +++ b/runtime/mem/gc/gen-gc/gen-gc.cpp @@ -14,9 +14,6 @@ */ #include "runtime/mem/gc/gen-gc/gen-gc.h" - -#include - #include "runtime/include/hclass.h" #include "runtime/include/coretypes/array-inl.h" #include "runtime/include/mem/panda_smart_pointers.h" diff --git a/runtime/string_table.cpp b/runtime/string_table.cpp index 6098d369cf..9cc8eb8968 100644 --- a/runtime/string_table.cpp +++ b/runtime/string_table.cpp @@ -15,8 +15,6 @@ #include "runtime/string_table.h" -#include - #include "runtime/include/runtime.h" #include "runtime/mem/object_helpers.h" diff --git a/runtime/tests/interpreter_test.cpp b/runtime/tests/interpreter_test.cpp index e3aa8b0dcd..7976604d8d 100644 --- a/runtime/tests/interpreter_test.cpp +++ b/runtime/tests/interpreter_test.cpp @@ -16,16 +16,6 @@ #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include - #include "assembly-parser.h" #include "libpandabase/mem/pool_manager.h" #include "libpandabase/utils/utf.h" diff --git a/runtime/tests/math_helpers_test.cpp b/runtime/tests/math_helpers_test.cpp index dc8c5e3466..deac19fcfb 100644 --- a/runtime/tests/math_helpers_test.cpp +++ b/runtime/tests/math_helpers_test.cpp @@ -15,12 +15,6 @@ #include -#include -#include -#include -#include -#include - #include "runtime/interpreter/math_helpers.h" namespace panda::interpreter::math_helpers::test { diff --git a/runtime/tests/mem_stats_gc_test.cpp b/runtime/tests/mem_stats_gc_test.cpp index 23b370a883..441a6e62c2 100644 --- a/runtime/tests/mem_stats_gc_test.cpp +++ b/runtime/tests/mem_stats_gc_test.cpp @@ -13,9 +13,6 @@ * limitations under the License. */ -#include -#include - #include "gtest/gtest.h" #include "iostream" #include "runtime/class_linker_context.h" diff --git a/runtime/time_utils.cpp b/runtime/time_utils.cpp index a3ce1af211..9ad53d1956 100644 --- a/runtime/time_utils.cpp +++ b/runtime/time_utils.cpp @@ -15,10 +15,7 @@ #include "runtime/include/time_utils.h" -#include -#include #include -#include #include "libpandabase/utils/time.h" diff --git a/runtime/timing.cpp b/runtime/timing.cpp index 834940b4a1..c09fff6ee9 100644 --- a/runtime/timing.cpp +++ b/runtime/timing.cpp @@ -15,10 +15,7 @@ #include "runtime/timing.h" -#include -#include #include -#include #include "utils/logger.h" diff --git a/verification/cflow/cflow_check.cpp b/verification/cflow/cflow_check.cpp index d94d36743e..b5639b9230 100644 --- a/verification/cflow/cflow_check.cpp +++ b/verification/cflow/cflow_check.cpp @@ -16,8 +16,6 @@ #include "cflow_check.h" #include "cflow_common.h" -#include "instructions_map.h" - #include "runtime/include/method-inl.h" #include "utils/logger.h" @@ -26,9 +24,6 @@ #include "verifier_messages.h" -#include -#include - namespace panda::verifier { template diff --git a/verification/debug/options/method_selector.h b/verification/debug/options/method_selector.h index 571990de0e..7d304c9f00 100644 --- a/verification/debug/options/method_selector.h +++ b/verification/debug/options/method_selector.h @@ -17,7 +17,6 @@ #define PANDA_VERIFICATION_DEBUG_OPTIONS_METHOD_SELECTOR_H_ #include -#include template class Vector, typename Regex, typename String> class VerifierMethodSelector { diff --git a/verification/job_queue/cache.cpp b/verification/job_queue/cache.cpp index ba446164a1..ddbbad3fd4 100644 --- a/verification/job_queue/cache.cpp +++ b/verification/job_queue/cache.cpp @@ -42,8 +42,6 @@ #include "macros.h" -#include - namespace panda::verifier { using FastAPIClassRW = CacheOfRuntimeThings::FastAPIClass; diff --git a/verification/type/tests/type_system_test.cpp b/verification/type/tests/type_system_test.cpp index 525089571b..6a4885d599 100644 --- a/verification/type/tests/type_system_test.cpp +++ b/verification/type/tests/type_system_test.cpp @@ -26,8 +26,6 @@ #include "runtime/include/mem/panda_string.h" -#include - #include namespace panda::verifier::test { diff --git a/verification/type/type_type.h b/verification/type/type_type.h index a5212b256e..45d869deae 100644 --- a/verification/type/type_type.h +++ b/verification/type/type_type.h @@ -22,8 +22,6 @@ #include "type_system_kind.h" -#include - namespace panda::verifier { class TypeSystem; class TypeSet; diff --git a/verification/util/function_traits.h b/verification/util/function_traits.h index f8ec714eaf..52dc4c2e87 100644 --- a/verification/util/function_traits.h +++ b/verification/util/function_traits.h @@ -16,7 +16,6 @@ #ifndef PANDA_VERIFICATION_UTIL_FUNCTION_TRAITS_H_ #define PANDA_VERIFICATION_UTIL_FUNCTION_TRAITS_H_ -#include #include namespace panda::verifier { diff --git a/verification/util/int_set.h b/verification/util/int_set.h index 79b7c9ce07..8c7bd1b8b2 100644 --- a/verification/util/int_set.h +++ b/verification/util/int_set.h @@ -19,7 +19,6 @@ #include "bit_vector.h" #include -#include namespace panda::verifier { diff --git a/verification/util/range.h b/verification/util/range.h index 18565421d3..b4928dcc6d 100644 --- a/verification/util/range.h +++ b/verification/util/range.h @@ -17,7 +17,6 @@ #define PANDA_VERIFICATION_UTIL_RANGE_H_ #include -#include #include #include #include diff --git a/verification/util/tests/environment.cpp b/verification/util/tests/environment.cpp index 807dca1f45..701f1587fb 100644 --- a/verification/util/tests/environment.cpp +++ b/verification/util/tests/environment.cpp @@ -17,8 +17,6 @@ #include "verification/debug/parser/parser.h" -#include -#include #include namespace panda::verifier::test { -- Gitee