Summary: Silence GCC -Wconversion-null warning from GTest
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D81976
std::unique_ptr<Module> M = parseAssemblyString(IRString, Err, Context);
auto *PS = ProfileSummary::getFromMD(M->getProfileSummary(/*IsCS*/ false));
EXPECT_NE(nullptr, PS);
- EXPECT_EQ(false, PS->isPartialProfile());
+ EXPECT_FALSE(PS->isPartialProfile());
PS->setPartialProfile(true);
M->setProfileSummary(PS->getMD(Context), ProfileSummary::PSK_Sample);
delete PS;