summaryrefslogtreecommitdiffstats
path: root/googlemock/include/gmock/gmock-matchers.h
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@google.com>2023-01-24 19:09:35 (GMT)
committerCopybara-Service <copybara-worker@google.com>2023-01-24 19:10:09 (GMT)
commit2491710524094dc3b77cfa4e8eda2ba8edb0d91c (patch)
tree2c9bdfb14ae930e22a89dcbee3ae97f93a26451a /googlemock/include/gmock/gmock-matchers.h
parent408471e20cfaa7ccd585fe5e1c6e7b6fba8ce06e (diff)
downloadgoogletest-2491710524094dc3b77cfa4e8eda2ba8edb0d91c.zip
googletest-2491710524094dc3b77cfa4e8eda2ba8edb0d91c.tar.gz
googletest-2491710524094dc3b77cfa4e8eda2ba8edb0d91c.tar.bz2
Fix formatting of C++ files
PiperOrigin-RevId: 504325204 Change-Id: Iaa1d6d0ab1dccaaeef26f9cb109d530835499240
Diffstat (limited to 'googlemock/include/gmock/gmock-matchers.h')
-rw-r--r--googlemock/include/gmock/gmock-matchers.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/googlemock/include/gmock/gmock-matchers.h b/googlemock/include/gmock/gmock-matchers.h
index 9e634f7..fc00c35 100644
--- a/googlemock/include/gmock/gmock-matchers.h
+++ b/googlemock/include/gmock/gmock-matchers.h
@@ -3317,8 +3317,8 @@ class FieldsAreMatcherImpl<Struct, IndexSequence<I...>>
std::vector<StringMatchResultListener> inner_listener(sizeof...(I));
VariadicExpand(
- {failed_pos == ~size_t{}&& !std::get<I>(matchers_).MatchAndExplain(
- std::get<I>(tuple), &inner_listener[I])
+ {failed_pos == ~size_t{} && !std::get<I>(matchers_).MatchAndExplain(
+ std::get<I>(tuple), &inner_listener[I])
? failed_pos = I
: 0 ...});
if (failed_pos != ~size_t{}) {
@@ -5474,8 +5474,7 @@ PolymorphicMatcher<internal::ExceptionMatcherImpl<Err>> ThrowsMessage(
inline name##Matcher GMOCK_INTERNAL_WARNING_PUSH() \
GMOCK_INTERNAL_WARNING_CLANG(ignored, "-Wunused-function") \
GMOCK_INTERNAL_WARNING_CLANG(ignored, "-Wunused-member-function") \
- name \
- GMOCK_INTERNAL_WARNING_POP()() { \
+ name GMOCK_INTERNAL_WARNING_POP()() { \
return {}; \
} \
template <typename arg_type> \