Googletest export
Rollback of warning on unused ACTION result change PiperOrigin-RevId: 313380971
This commit is contained in:
parent
130ae78b99
commit
8f3854e204
@ -1512,7 +1512,6 @@ auto InvokeArgumentAdl(AdlTag, F f, Args... args) -> decltype(f(args...)) {
|
|||||||
return_type gmock_PerformImpl(GMOCK_ACTION_ARG_TYPES_AND_NAMES_) const; \
|
return_type gmock_PerformImpl(GMOCK_ACTION_ARG_TYPES_AND_NAMES_) const; \
|
||||||
}; \
|
}; \
|
||||||
}; \
|
}; \
|
||||||
inline name##Action name() GTEST_MUST_USE_RESULT_; \
|
|
||||||
inline name##Action name() { return name##Action(); } \
|
inline name##Action name() { return name##Action(); } \
|
||||||
template <typename F> \
|
template <typename F> \
|
||||||
template <GMOCK_ACTION_TEMPLATE_ARGS_NAMES_> \
|
template <GMOCK_ACTION_TEMPLATE_ARGS_NAMES_> \
|
||||||
|
@ -442,13 +442,7 @@
|
|||||||
}\
|
}\
|
||||||
GMOCK_INTERNAL_DEFN_##value_params\
|
GMOCK_INTERNAL_DEFN_##value_params\
|
||||||
};\
|
};\
|
||||||
template <GMOCK_INTERNAL_DECL_##template_params \
|
template <GMOCK_INTERNAL_DECL_##template_params\
|
||||||
GMOCK_INTERNAL_DECL_TYPE_##value_params>\
|
|
||||||
GMOCK_ACTION_CLASS_(name, value_params)<\
|
|
||||||
GMOCK_INTERNAL_LIST_##template_params\
|
|
||||||
GMOCK_INTERNAL_LIST_TYPE_##value_params> name(\
|
|
||||||
GMOCK_INTERNAL_DECL_##value_params) GTEST_MUST_USE_RESULT_;\
|
|
||||||
template <GMOCK_INTERNAL_DECL_##template_params \
|
|
||||||
GMOCK_INTERNAL_DECL_TYPE_##value_params>\
|
GMOCK_INTERNAL_DECL_TYPE_##value_params>\
|
||||||
inline GMOCK_ACTION_CLASS_(name, value_params)<\
|
inline GMOCK_ACTION_CLASS_(name, value_params)<\
|
||||||
GMOCK_INTERNAL_LIST_##template_params\
|
GMOCK_INTERNAL_LIST_##template_params\
|
||||||
|
@ -260,13 +260,7 @@ $range k 0..n-1
|
|||||||
}\
|
}\
|
||||||
GMOCK_INTERNAL_DEFN_##value_params\
|
GMOCK_INTERNAL_DEFN_##value_params\
|
||||||
};\
|
};\
|
||||||
template <GMOCK_INTERNAL_DECL_##template_params \
|
template <GMOCK_INTERNAL_DECL_##template_params\
|
||||||
GMOCK_INTERNAL_DECL_TYPE_##value_params>\
|
|
||||||
GMOCK_ACTION_CLASS_(name, value_params)<\
|
|
||||||
GMOCK_INTERNAL_LIST_##template_params\
|
|
||||||
GMOCK_INTERNAL_LIST_TYPE_##value_params> name(\
|
|
||||||
GMOCK_INTERNAL_DECL_##value_params) GTEST_MUST_USE_RESULT_;\
|
|
||||||
template <GMOCK_INTERNAL_DECL_##template_params \
|
|
||||||
GMOCK_INTERNAL_DECL_TYPE_##value_params>\
|
GMOCK_INTERNAL_DECL_TYPE_##value_params>\
|
||||||
inline GMOCK_ACTION_CLASS_(name, value_params)<\
|
inline GMOCK_ACTION_CLASS_(name, value_params)<\
|
||||||
GMOCK_INTERNAL_LIST_##template_params\
|
GMOCK_INTERNAL_LIST_##template_params\
|
||||||
|
Loading…
Reference in New Issue
Block a user