mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-25 13:20:57 +00:00
gtest: Fix warnings on MinGW.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115945 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1cade330af
commit
6b17830980
@ -1964,8 +1964,8 @@ void ReportFailureInUnknownLocation(TestPartResult::Type result_type,
|
|||||||
|
|
||||||
} // namespace internal
|
} // namespace internal
|
||||||
|
|
||||||
#if GTEST_OS_WINDOWS
|
#if GTEST_HAS_SEH
|
||||||
// We are on Windows.
|
// We are on Windows with SEH.
|
||||||
|
|
||||||
// Adds an "exception thrown" fatal failure to the current test.
|
// Adds an "exception thrown" fatal failure to the current test.
|
||||||
static void AddExceptionThrownFailure(DWORD exception_code,
|
static void AddExceptionThrownFailure(DWORD exception_code,
|
||||||
@ -1978,7 +1978,7 @@ static void AddExceptionThrownFailure(DWORD exception_code,
|
|||||||
message.GetString());
|
message.GetString());
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // GTEST_OS_WINDOWS
|
#endif // GTEST_HAS_SEH
|
||||||
|
|
||||||
// Google Test requires all tests in the same test case to use the same test
|
// Google Test requires all tests in the same test case to use the same test
|
||||||
// fixture class. This function checks if the current test has the
|
// fixture class. This function checks if the current test has the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user