aboutsummaryrefslogtreecommitdiffstats
path: root/googletest/include/gtest/internal
diff options
context:
space:
mode:
authorGennadiy Civil <misterg@google.com>2019-10-22 09:38:21 -0400
committerGennadiy Civil <misterg@google.com>2019-10-22 09:38:21 -0400
commitde1128355464aea0427dbc15053fbfe0269683a4 (patch)
tree001b97bd22e9e950e209a004373420522098ffb7 /googletest/include/gtest/internal
parent611a321a6e641846497f75375f9cbe7825ff3f23 (diff)
parente0d16aa33662857a5b3f47359f46910d4d18ab5b (diff)
downloadgoogletest-de1128355464aea0427dbc15053fbfe0269683a4.tar.gz
googletest-de1128355464aea0427dbc15053fbfe0269683a4.tar.bz2
googletest-de1128355464aea0427dbc15053fbfe0269683a4.zip
Merge pull request #2444 from kuzkry:remove-GTEST_ARRAY_SIZE_
PiperOrigin-RevId: 275842505
Diffstat (limited to 'googletest/include/gtest/internal')
-rw-r--r--googletest/include/gtest/internal/gtest-port.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/googletest/include/gtest/internal/gtest-port.h b/googletest/include/gtest/internal/gtest-port.h
index dc67902b..3ad7119c 100644
--- a/googletest/include/gtest/internal/gtest-port.h
+++ b/googletest/include/gtest/internal/gtest-port.h
@@ -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);