Merge pull request #2444 from kuzkry:remove-GTEST_ARRAY_SIZE_

PiperOrigin-RevId: 275842505
This commit is contained in:
Gennadiy Civil
2019-10-22 09:38:21 -04:00
3 changed files with 47 additions and 47 deletions

View File

@@ -844,9 +844,6 @@ class Secret;
// expression is false, compiler will issue an error containing this identifier.
#define GTEST_COMPILE_ASSERT_(expr, msg) static_assert(expr, #msg)
// Evaluates to the number of elements in 'array'.
#define GTEST_ARRAY_SIZE_(array) (sizeof(array) / sizeof(array[0]))
// A helper for suppressing warnings on constant condition. It just
// returns 'condition'.
GTEST_API_ bool IsTrue(bool condition);