Push several shanges:
Make single argument constructors explicit in macros.
Remove NOMINMAX macro.
Add macros for disabling Microsoft Visual C++ warnings.
Add WhenDynamicCastTo<T> matcher.
A matcher that matches a pointer that matches inner_matcher when
dynamic_cast<T> is applied.
Add IWYU export pragmas to the tuple include lines.
Fix NativeArray to not require a copy constructor unless we ask for one.
This allows ElementsAre() to support non-copyable types.
Examine WINAPI_FAMILY_PARTITION macros to better distinguish windows platforms.
Author: martin@martin.st
From: https://codereview.appspot.com/57220043/
This commit is contained in:
@@ -900,9 +900,9 @@ template <typename T1, typename T2>
|
||||
// pattern requires the user to use it directly.
|
||||
ConcatImplActionP3<std::string, T1, T2>
|
||||
Concat(const std::string& a, T1 b, T2 c) {
|
||||
GTEST_INTENTIONAL_CONST_COND_PUSH_
|
||||
GTEST_INTENTIONAL_CONST_COND_PUSH_()
|
||||
if (true) {
|
||||
GTEST_INTENTIONAL_CONST_COND_POP_
|
||||
GTEST_INTENTIONAL_CONST_COND_POP_()
|
||||
// This branch verifies that ConcatImpl() can be invoked without
|
||||
// explicit template arguments.
|
||||
return ConcatImpl(a, b, c);
|
||||
|
||||
Reference in New Issue
Block a user