forked from OSchip/llvm-project
[NFC] Use EXPECT_FALSE(...) in test rather than EXPECT_EQ(false, ...)
Summary: Silence GCC -Wconversion-null warning from GTest Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D81976
This commit is contained in:
parent
c151230533
commit
1a1849c99b
|
@ -112,7 +112,7 @@ TEST(ModuleTest, setProfileSummary) {
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue