mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
I plan to use this to get reasonable re-lint times locally when iterating on enabling lints, and finishing https://github.com/flutter/flutter/issues/134969. For example: ```shell $ prebuilts/macos-arm64/dart-sdk/bin/dart tools/clang_tidy/bin/main.dart --lint-regex=".*\/fml\/.*" ┌──────────────────────────┐ │ Engine Clang Tidy Linter │ └──────────────────────────┘ The following errors have been reported by the Engine Clang Tidy Linter. For more information on addressing these issues please see: https://github.com/flutter/flutter/wiki/Engine-Clang-Tidy-Linter 🔶 linting flutter/fml/command_line.cc 🔶 linting flutter/fml/command_line.cc 🔶 linting flutter/fml/ascii_trie.cc 🔶 linting flutter/fml/base32.cc 🔶 linting flutter/fml/concurrent_message_loop.cc 🔶 linting flutter/fml/cpu_affinity.cc 🔶 linting flutter/fml/delayed_task.cc 🔶 linting flutter/fml/endianness.cc 🔶 linting flutter/fml/file.cc 🔶 linting flutter/fml/hex_codec.cc 🔶 linting flutter/fml/icu_util.cc 🔶 linting flutter/fml/log_settings.cc 🔶 linting flutter/fml/log_settings_state.cc 🔶 linting flutter/fml/logging.cc 🔶 linting flutter/fml/mapping.cc 🔶 linting flutter/fml/memory/task_runner_checker.cc 🔶 linting flutter/fml/memory/thread_checker.cc 🔶 linting flutter/fml/memory/weak_ptr_internal.cc 🔶 linting flutter/fml/message_loop.cc 🔶 linting flutter/fml/message_loop_impl.cc 🔶 linting flutter/fml/message_loop_task_queues.cc 🔶 linting flutter/fml/paths.cc 🔶 linting flutter/fml/raster_thread_merger.cc 🔶 linting flutter/fml/shared_thread_merger.cc 🔶 linting flutter/fml/synchronization/count_down_latch.cc 🔶 linting flutter/fml/synchronization/semaphore.cc 🔶 linting flutter/fml/synchronization/sync_switch.cc 🔶 linting flutter/fml/synchronization/waitable_event.cc 🔶 linting flutter/fml/task_runner.cc 🔶 linting flutter/fml/task_source.cc 🔶 linting flutter/fml/thread.cc 🔶 linting flutter/fml/thread_local.cc 🔶 linting flutter/fml/time/time_point.cc 🔶 linting flutter/fml/trace_event.cc 🔶 linting flutter/fml/unique_fd.cc 🔶 linting flutter/fml/backtrace_stub.cc 🔶 linting flutter/fml/platform/darwin/concurrent_message_loop_factory.mm 🔶 linting flutter/fml/platform/posix/shared_mutex_posix.cc 🔶 linting flutter/fml/platform/darwin/cf_utils.cc 🔶 linting flutter/fml/platform/darwin/message_loop_darwin.mm 🔶 linting flutter/fml/platform/darwin/paths_darwin.mm 🔶 linting flutter/fml/platform/darwin/platform_version.mm 🔶 linting flutter/fml/platform/darwin/scoped_block.mm 🔶 linting flutter/fml/platform/darwin/scoped_nsautorelease_pool.cc 🔶 linting flutter/fml/platform/darwin/scoped_nsobject.mm 🔶 linting flutter/fml/platform/darwin/string_range_sanitization.mm 🔶 linting flutter/fml/platform/posix/command_line_posix.cc 🔶 linting flutter/fml/platform/posix/file_posix.cc 🔶 linting flutter/fml/platform/posix/mapping_posix.cc 🔶 linting flutter/fml/platform/posix/native_library_posix.cc 🔶 linting flutter/fml/platform/posix/paths_posix.cc 🔶 linting flutter/fml/platform/posix/posix_wrappers_posix.cc 🔶 linting flutter/fml/ascii_trie.cc 🔶 linting flutter/fml/base32.cc 🔶 linting flutter/fml/concurrent_message_loop.cc 🔶 linting flutter/fml/cpu_affinity.cc 🔶 linting flutter/fml/delayed_task.cc 🔶 linting flutter/fml/endianness.cc 🔶 linting flutter/fml/file.cc 🔶 linting flutter/fml/hex_codec.cc 🔶 linting flutter/fml/icu_util.cc 🔶 linting flutter/fml/log_settings.cc 🔶 linting flutter/fml/log_settings_state.cc 🔶 linting flutter/fml/logging.cc 🔶 linting flutter/fml/mapping.cc 🔶 linting flutter/fml/memory/task_runner_checker.cc 🔶 linting flutter/fml/memory/thread_checker.cc 🔶 linting flutter/fml/memory/weak_ptr_internal.cc 🔶 linting flutter/fml/message_loop.cc 🔶 linting flutter/fml/message_loop_impl.cc 🔶 linting flutter/fml/message_loop_task_queues.cc 🔶 linting flutter/fml/paths.cc 🔶 linting flutter/fml/raster_thread_merger.cc 🔶 linting flutter/fml/shared_thread_merger.cc 🔶 linting flutter/fml/synchronization/count_down_latch.cc 🔶 linting flutter/fml/synchronization/semaphore.cc 🔶 linting flutter/fml/synchronization/sync_switch.cc 🔶 linting flutter/fml/synchronization/waitable_event.cc 🔶 linting flutter/fml/task_runner.cc 🔶 linting flutter/fml/task_source.cc 🔶 linting flutter/fml/thread.cc 🔶 linting flutter/fml/thread_local.cc 🔶 linting flutter/fml/time/time_point.cc 🔶 linting flutter/fml/trace_event.cc 🔶 linting flutter/fml/unique_fd.cc 🔶 linting flutter/fml/backtrace_stub.cc 🔶 linting flutter/fml/platform/darwin/concurrent_message_loop_factory.mm 🔶 linting flutter/fml/platform/posix/shared_mutex_posix.cc 🔶 linting flutter/fml/platform/darwin/cf_utils.cc 🔶 linting flutter/fml/platform/darwin/message_loop_darwin.mm 🔶 linting flutter/fml/platform/darwin/paths_darwin.mm 🔶 linting flutter/fml/platform/darwin/platform_version.mm 🔶 linting flutter/fml/platform/darwin/scoped_block.mm 🔶 linting flutter/fml/platform/darwin/scoped_nsautorelease_pool.cc 🔶 linting flutter/fml/platform/darwin/scoped_nsobject.mm 🔶 linting flutter/fml/platform/darwin/string_range_sanitization.mm 🔶 linting flutter/fml/platform/posix/command_line_posix.cc 🔶 linting flutter/fml/platform/posix/file_posix.cc 🔶 linting flutter/fml/platform/posix/mapping_posix.cc 🔶 linting flutter/fml/platform/posix/native_library_posix.cc 🔶 linting flutter/fml/platform/posix/paths_posix.cc 🔶 linting flutter/fml/platform/posix/posix_wrappers_posix.cc 🔶 linting flutter/fml/message_loop_task_queues_benchmark.cc 🔶 linting flutter/fml/ascii_trie_unittests.cc 🔶 linting flutter/fml/backtrace_unittests.cc 🔶 linting flutter/fml/base32_unittest.cc 🔶 linting flutter/fml/closure_unittests.cc 🔶 linting flutter/fml/command_line_unittest.cc 🔶 linting flutter/fml/container_unittests.cc 🔶 linting flutter/fml/cpu_affinity_unittests.cc 🔶 linting flutter/fml/endianness_unittests.cc 🔶 linting flutter/fml/file_unittest.cc 🔶 linting flutter/fml/hash_combine_unittests.cc 🔶 linting flutter/fml/hex_codec_unittest.cc 🔶 linting flutter/fml/logging_unittests.cc 🔶 linting flutter/fml/mapping_unittests.cc 🔶 linting flutter/fml/math_unittests.cc 🔶 linting flutter/fml/memory/ref_counted_unittest.cc 🔶 linting flutter/fml/memory/task_runner_checker_unittest.cc 🔶 linting flutter/fml/memory/weak_ptr_unittest.cc 🔶 linting flutter/fml/message_loop_impl_unittests.cc 🔶 linting flutter/fml/message_loop_task_queues_merge_unmerge_unittests.cc 🔶 linting flutter/fml/message_loop_task_queues_unittests.cc 🔶 linting flutter/fml/message_loop_unittests.cc 🔶 linting flutter/fml/paths_unittests.cc 🔶 linting flutter/fml/raster_thread_merger_unittests.cc 🔶 linting flutter/fml/string_conversion_unittests.cc 🔶 linting flutter/fml/synchronization/count_down_latch_unittests.cc 🔶 linting flutter/fml/synchronization/semaphore_unittest.cc 🔶 linting flutter/fml/synchronization/sync_switch_unittest.cc 🔶 linting flutter/fml/synchronization/waitable_event_unittest.cc 🔶 linting flutter/fml/task_source_unittests.cc 🔶 linting flutter/fml/thread_local_unittests.cc 🔶 linting flutter/fml/thread_unittests.cc 🔶 linting flutter/fml/time/chrono_timestamp_provider.cc 🔶 linting flutter/fml/time/time_delta_unittest.cc 🔶 linting flutter/fml/time/time_point_unittest.cc 🔶 linting flutter/fml/time/time_unittest.cc 🔶 linting flutter/fml/platform/darwin/cf_utils_unittests.mm 🔶 linting flutter/fml/platform/darwin/string_range_sanitization_unittests.mm 🔶 linting flutter/fml/string_conversion.cc 🔶 linting flutter/fml/string_conversion.cc 🔶 linting flutter/fml/dart/dart_converter.cc [0:00] Jobs: 0% done, 1/143 completed, 7 in progress, 135 pending, 0 failed. ```