Fix clang-tidy warning for MATCHER_P macro

For `MATCHER_P(IsExpectedLogMessage, expected, "")` `clang-tidy`
complains this way:

```
warning: member variable 'expected' has public visibility
[misc-non-private-member-variables-in-classes]
```
This commit is contained in:
Andrey Starodubtsev 2026-09-03 17:52:45 +00:00
parent d94a7326e9
commit a3089ce146
1 changed files with 1 additions and 0 deletions

View File

@ -6010,6 +6010,7 @@ PolymorphicMatcher<internal::ExceptionMatcherImpl<Err>> ThrowsMessage(
void DescribeNegationTo(::std::ostream* gmock_os) const override { \
*gmock_os << FormatDescription(true); \
} \
/* NOLINTNEXTLINE(misc-non-private-member-variables-in-classes) */ \
GMOCK_INTERNAL_MATCHER_MEMBERS(args) \
\
private: \