Commit 05b5a538 authored by Gennadiy Civil's avatar Gennadiy Civil
Browse files

formatting
parent 2de24fbf
...@@ -877,7 +877,7 @@ InSequence::~InSequence() { ...@@ -877,7 +877,7 @@ InSequence::~InSequence() {
} // namespace testing } // namespace testing
#ifdef _MSC_VER #ifdef _MSC_VER
#if _MSC_VER == 1900 #if _MSC_VER <= 1900
# pragma warning(pop) # pragma warning(pop)
#endif #endif
#endif #endif
...@@ -33,6 +33,8 @@ ...@@ -33,6 +33,8 @@
// //
// This file tests the built-in actions. // This file tests the built-in actions.
// Silence C4800 (C4800: 'int *const ': forcing value
// to bool 'true' or 'false') for MSVC 14,15
#ifdef _MSC_VER #ifdef _MSC_VER
#if _MSC_VER <= 1900 #if _MSC_VER <= 1900
# pragma warning(push) # pragma warning(push)
...@@ -1569,3 +1571,4 @@ TEST(MoveOnlyArgumentsTest, ReturningActions) { ...@@ -1569,3 +1571,4 @@ TEST(MoveOnlyArgumentsTest, ReturningActions) {
# pragma warning(pop) # pragma warning(pop)
#endif #endif
#endif #endif
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
#include "gtest/gtest.h" #include "gtest/gtest.h"
// Silence C4100 (unreferenced formal parameter) for MSVC 14 and 15 // Silence C4100 (unreferenced formal parameter) for MSVC 14 and 15
#ifdef _MSC_VER #ifdef _MSC_VER
# if _MSC_VER <= 1900 # if _MSC_VER <= 1900
...@@ -48,7 +47,6 @@ ...@@ -48,7 +47,6 @@
# endif # endif
#endif #endif
using testing::_; using testing::_;
using testing::AnyNumber; using testing::AnyNumber;
using testing::Ge; using testing::Ge;
......
...@@ -82,7 +82,8 @@ ...@@ -82,7 +82,8 @@
namespace testing { namespace testing {
// Silence C4100 (unreferenced formal parameter) for MSVC 14 and 15 // Silence C4100 (unreferenced formal parameter) and 4805
// unsafe mix of bool and type int for MSVC 14 and 15
#ifdef _MSC_VER #ifdef _MSC_VER
# if _MSC_VER <= 1900 # if _MSC_VER <= 1900
# pragma warning(push) # pragma warning(push)
...@@ -91,6 +92,7 @@ namespace testing { ...@@ -91,6 +92,7 @@ namespace testing {
# endif # endif
#endif #endif
// Declares the flags. // Declares the flags.
// This flag temporary enables the disabled tests. // This flag temporary enables the disabled tests.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment