aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormisterg <misterg@google.com>2018-09-06 09:23:22 -0400
committerGennadiy Civil <misterg@google.com>2018-09-11 12:59:06 -0400
commit936dae4efe9cf42bc4cd2e1e981daae56ca3b9af (patch)
tree95933e9bf5e6919bdcf806bf920d47467e895d45
parent0c799d0436e1b6d867c1738f6ff58166d153cacc (diff)
downloadgoogletest-936dae4efe9cf42bc4cd2e1e981daae56ca3b9af.zip
googletest-936dae4efe9cf42bc4cd2e1e981daae56ca3b9af.tar.gz
googletest-936dae4efe9cf42bc4cd2e1e981daae56ca3b9af.tar.bz2
Googletest export
Internal Change PiperOrigin-RevId: 211798074
-rw-r--r--googlemock/include/gmock/gmock-generated-matchers.h33
-rw-r--r--googlemock/include/gmock/gmock-generated-matchers.h.pump3
2 files changed, 12 insertions, 24 deletions
diff --git a/googlemock/include/gmock/gmock-generated-matchers.h b/googlemock/include/gmock/gmock-generated-matchers.h
index f771f4e..41d5304 100644
--- a/googlemock/include/gmock/gmock-generated-matchers.h
+++ b/googlemock/include/gmock/gmock-generated-matchers.h
@@ -1405,9 +1405,8 @@ AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9, M10 m10) {
private:\
::std::string FormatDescription(bool negation) const {\
::std::string gmock_description = (description);\
- if (!gmock_description.empty()) {\
+ if (!gmock_description.empty())\
return gmock_description;\
- }\
return ::testing::internal::FormatMatcherDescription(\
negation, #name, \
::testing::internal::UniversalTersePrintTupleFieldsToStrings(\
@@ -1455,9 +1454,8 @@ AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9, M10 m10) {
private:\
::std::string FormatDescription(bool negation) const {\
::std::string gmock_description = (description);\
- if (!gmock_description.empty()) {\
+ if (!gmock_description.empty())\
return gmock_description;\
- }\
return ::testing::internal::FormatMatcherDescription(\
negation, #name, \
::testing::internal::UniversalTersePrintTupleFieldsToStrings(\
@@ -1511,9 +1509,8 @@ AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9, M10 m10) {
private:\
::std::string FormatDescription(bool negation) const {\
::std::string gmock_description = (description);\
- if (!gmock_description.empty()) {\
+ if (!gmock_description.empty())\
return gmock_description;\
- }\
return ::testing::internal::FormatMatcherDescription(\
negation, #name, \
::testing::internal::UniversalTersePrintTupleFieldsToStrings(\
@@ -1573,9 +1570,8 @@ AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9, M10 m10) {
private:\
::std::string FormatDescription(bool negation) const {\
::std::string gmock_description = (description);\
- if (!gmock_description.empty()) {\
+ if (!gmock_description.empty())\
return gmock_description;\
- }\
return ::testing::internal::FormatMatcherDescription(\
negation, #name, \
::testing::internal::UniversalTersePrintTupleFieldsToStrings(\
@@ -1642,9 +1638,8 @@ AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9, M10 m10) {
private:\
::std::string FormatDescription(bool negation) const {\
::std::string gmock_description = (description);\
- if (!gmock_description.empty()) {\
+ if (!gmock_description.empty())\
return gmock_description;\
- }\
return ::testing::internal::FormatMatcherDescription(\
negation, #name, \
::testing::internal::UniversalTersePrintTupleFieldsToStrings(\
@@ -1720,9 +1715,8 @@ AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9, M10 m10) {
private:\
::std::string FormatDescription(bool negation) const {\
::std::string gmock_description = (description);\
- if (!gmock_description.empty()) {\
+ if (!gmock_description.empty())\
return gmock_description;\
- }\
return ::testing::internal::FormatMatcherDescription(\
negation, #name, \
::testing::internal::UniversalTersePrintTupleFieldsToStrings(\
@@ -1802,9 +1796,8 @@ AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9, M10 m10) {
private:\
::std::string FormatDescription(bool negation) const {\
::std::string gmock_description = (description);\
- if (!gmock_description.empty()) {\
+ if (!gmock_description.empty())\
return gmock_description;\
- }\
return ::testing::internal::FormatMatcherDescription(\
negation, #name, \
::testing::internal::UniversalTersePrintTupleFieldsToStrings(\
@@ -1890,9 +1883,8 @@ AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9, M10 m10) {
private:\
::std::string FormatDescription(bool negation) const {\
::std::string gmock_description = (description);\
- if (!gmock_description.empty()) {\
+ if (!gmock_description.empty())\
return gmock_description;\
- }\
return ::testing::internal::FormatMatcherDescription(\
negation, #name, \
::testing::internal::UniversalTersePrintTupleFieldsToStrings(\
@@ -1987,9 +1979,8 @@ AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9, M10 m10) {
private:\
::std::string FormatDescription(bool negation) const {\
::std::string gmock_description = (description);\
- if (!gmock_description.empty()) {\
+ if (!gmock_description.empty())\
return gmock_description;\
- }\
return ::testing::internal::FormatMatcherDescription(\
negation, #name, \
::testing::internal::UniversalTersePrintTupleFieldsToStrings(\
@@ -2090,9 +2081,8 @@ AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9, M10 m10) {
private:\
::std::string FormatDescription(bool negation) const {\
::std::string gmock_description = (description);\
- if (!gmock_description.empty()) {\
+ if (!gmock_description.empty())\
return gmock_description;\
- }\
return ::testing::internal::FormatMatcherDescription(\
negation, #name, \
::testing::internal::UniversalTersePrintTupleFieldsToStrings(\
@@ -2200,9 +2190,8 @@ AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9, M10 m10) {
private:\
::std::string FormatDescription(bool negation) const {\
::std::string gmock_description = (description);\
- if (!gmock_description.empty()) {\
+ if (!gmock_description.empty())\
return gmock_description;\
- }\
return ::testing::internal::FormatMatcherDescription(\
negation, #name, \
::testing::internal::UniversalTersePrintTupleFieldsToStrings(\
diff --git a/googlemock/include/gmock/gmock-generated-matchers.h.pump b/googlemock/include/gmock/gmock-generated-matchers.h.pump
index 9b3a6e4..1a59fed 100644
--- a/googlemock/include/gmock/gmock-generated-matchers.h.pump
+++ b/googlemock/include/gmock/gmock-generated-matchers.h.pump
@@ -647,9 +647,8 @@ $var param_field_decls2 = [[$for j
private:\
::std::string FormatDescription(bool negation) const {\
::std::string gmock_description = (description);\
- if (!gmock_description.empty()) {\
+ if (!gmock_description.empty())\
return gmock_description;\
- }\
return ::testing::internal::FormatMatcherDescription(\
negation, #name, \
::testing::internal::UniversalTersePrintTupleFieldsToStrings(\