From d5b171165fc2836bc1c8b31f22fd04b968e91361 Mon Sep 17 00:00:00 2001 From: Matan Lurey Date: Tue, 21 Nov 2023 15:35:36 -0800 Subject: [PATCH] Finish making `shell/platform/linux/...` compatible with `.clang-tidy`. (flutter/engine#48297) --- engine/src/flutter/shell/platform/linux/key_mapping.h | 1 + .../shell/platform/linux/testing/mock_text_input_view_delegate.h | 1 + 2 files changed, 2 insertions(+) diff --git a/engine/src/flutter/shell/platform/linux/key_mapping.h b/engine/src/flutter/shell/platform/linux/key_mapping.h index cd425c6528..b110430838 100644 --- a/engine/src/flutter/shell/platform/linux/key_mapping.h +++ b/engine/src/flutter/shell/platform/linux/key_mapping.h @@ -49,6 +49,7 @@ typedef struct { bool mandatory; } LayoutGoal; +// NOLINTNEXTLINE(readability-identifier-naming) extern const std::vector layout_goals; #endif // KEYBOARD_MAP_H_ diff --git a/engine/src/flutter/shell/platform/linux/testing/mock_text_input_view_delegate.h b/engine/src/flutter/shell/platform/linux/testing/mock_text_input_view_delegate.h index 19a32d0f83..0f5b2811a2 100644 --- a/engine/src/flutter/shell/platform/linux/testing/mock_text_input_view_delegate.h +++ b/engine/src/flutter/shell/platform/linux/testing/mock_text_input_view_delegate.h @@ -20,6 +20,7 @@ class MockTextInputViewDelegate { MockTextInputViewDelegate(); ~MockTextInputViewDelegate(); + // NOLINTNEXTLINE(google-explicit-constructor) operator FlTextInputViewDelegate*(); MOCK_METHOD(void,