Searched refs:GTEST_COMPILE_ASSERT_ (Results 1 - 1 of 1) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/include/gtest/
H A Dgtest.h1903 // The GTEST_COMPILE_ASSERT_ macro can be used to verify that a compile time
1907 // GTEST_COMPILE_ASSERT_(ARRAYSIZE(content_type_names) == CONTENT_NUM_TYPES,
1912 // GTEST_COMPILE_ASSERT_(sizeof(foo) < 128, foo_too_large);
1922 #define GTEST_COMPILE_ASSERT_(expr, msg) \ macro
1926 // Implementation details of GTEST_COMPILE_ASSERT_:
1928 // - GTEST_COMPILE_ASSERT_ works by defining an array type that has -1
1933 // #define GTEST_COMPILE_ASSERT_(expr, msg) typedef char msg[(expr) ? 1 : -1]
1941 // GTEST_COMPILE_ASSERT_(foo, msg); // not supposed to compile as foo is
1955 // GTEST_COMPILE_ASSERT_(5 > 0, some_message);

Completed in 45 milliseconds