mirror of https://github.com/google/googletest.git
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:
parent
d94a7326e9
commit
a3089ce146
|
|
@ -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: \
|
||||
|
|
|
|||
Loading…
Reference in New Issue