diff options
author | Jeryl Vaz <jerylvaz@yahoo.com> | 2023-04-14 09:15:21 (GMT) |
---|---|---|
committer | Jeryl Vaz <jerylvaz@yahoo.com> | 2023-04-14 09:15:21 (GMT) |
commit | 952560d3ec06eae08347d5e54faa8e3192d41b4d (patch) | |
tree | e4e9e6f76ee4c3c571de06073d2f67561492ab2e /googlemock | |
parent | 12a5852e451baabc79c63a86c634912c563d57bc (diff) | |
download | googletest-952560d3ec06eae08347d5e54faa8e3192d41b4d.zip googletest-952560d3ec06eae08347d5e54faa8e3192d41b4d.tar.gz googletest-952560d3ec06eae08347d5e54faa8e3192d41b4d.tar.bz2 |
Suppress a clang-tidy warning in the MATCHER_P macrorefs/pull/4219/head
Diffstat (limited to 'googlemock')
-rw-r--r-- | googlemock/include/gmock/gmock-matchers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/googlemock/include/gmock/gmock-matchers.h b/googlemock/include/gmock/gmock-matchers.h index 7c5d65c..8936e49 100644 --- a/googlemock/include/gmock/gmock-matchers.h +++ b/googlemock/include/gmock/gmock-matchers.h @@ -5544,6 +5544,7 @@ PolymorphicMatcher<internal::ExceptionMatcherImpl<Err>> ThrowsMessage( \ private: \ ::std::string FormatDescription(bool negation) const { \ + /* NOLINTNEXTLINE readability-redundant-string-init */ \ ::std::string gmock_description = (description); \ if (!gmock_description.empty()) { \ return gmock_description; \ |