diff options
author | Abseil Team <absl-team@google.com> | 2021-07-08 09:12:46 (GMT) |
---|---|---|
committer | Derek Mauro <dmauro@google.com> | 2021-07-09 13:28:04 (GMT) |
commit | 43cf52911aee7eb31a4d9e1f50aa4b9b4467a607 (patch) | |
tree | d6f26170df96b2f5bb4f10d86bcec09bf97fb173 /googlemock | |
parent | 8306020a3e9eceafec65508868d7ab5c63bb41f7 (diff) | |
download | googletest-43cf52911aee7eb31a4d9e1f50aa4b9b4467a607.zip googletest-43cf52911aee7eb31a4d9e1f50aa4b9b4467a607.tar.gz googletest-43cf52911aee7eb31a4d9e1f50aa4b9b4467a607.tar.bz2 |
Googletest export
Suppress a clang-tidy warning in the MATCHER(name, description) macro.
PiperOrigin-RevId: 383587271
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 f1bb22c..3c191ba 100644 --- a/googlemock/include/gmock/gmock-matchers.h +++ b/googlemock/include/gmock/gmock-matchers.h @@ -5400,6 +5400,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; \ |