Lines Matching refs:ErrorEquals
29 static ::testing::AssertionResult ErrorEquals(instrprof_error Expected,
111 ASSERT_TRUE(ErrorEquals(instrprof_error::hash_mismatch, R.takeError()));
114 ASSERT_TRUE(ErrorEquals(instrprof_error::unknown_function, R.takeError()));
137 ASSERT_TRUE(ErrorEquals(instrprof_error::hash_mismatch, std::move(E1)));
140 ASSERT_TRUE(ErrorEquals(instrprof_error::unknown_function, std::move(E2)));