diff options
author | Eric Christopher <echristo@gmail.com> | 2015-05-15 18:20:14 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2015-05-15 18:20:14 +0000 |
commit | 97cb56572a18850f6551843b617d047ef6116f03 (patch) | |
tree | 5e43d7963c4a55ab902a18e9856fe4e7eccb2b41 /llvm/unittests/Bitcode/BitReaderTest.cpp | |
parent | d9f1a78aa07e425675661e87b7b9e7f9f4a8ce65 (diff) | |
download | bcm5719-llvm-97cb56572a18850f6551843b617d047ef6116f03.tar.gz bcm5719-llvm-97cb56572a18850f6551843b617d047ef6116f03.zip |
While in GlobalValue fix the function(s) that don't follow the
naming convention and update users.
llvm-svn: 237461
Diffstat (limited to 'llvm/unittests/Bitcode/BitReaderTest.cpp')
-rw-r--r-- | llvm/unittests/Bitcode/BitReaderTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/unittests/Bitcode/BitReaderTest.cpp b/llvm/unittests/Bitcode/BitReaderTest.cpp index c746f591672..2e6dd0b499d 100644 --- a/llvm/unittests/Bitcode/BitReaderTest.cpp +++ b/llvm/unittests/Bitcode/BitReaderTest.cpp @@ -75,7 +75,7 @@ TEST(BitReaderTest, DematerializeFunctionPreservesLinkageType) { GlobalValue::InternalLinkage); // Check that the linkage type is preserved after dematerialization. - M->getFunction("func")->Dematerialize(); + M->getFunction("func")->dematerialize(); EXPECT_TRUE(M->getFunction("func")->empty()); EXPECT_TRUE(M->getFunction("func")->getLinkage() == GlobalValue::InternalLinkage); @@ -160,7 +160,7 @@ TEST(BitReaderTest, MaterializeFunctionsForBlockAddr) { // PR11677 EXPECT_FALSE(verifyModule(*M, &dbgs())); // Try (and fail) to dematerialize @func. - M->getFunction("func")->Dematerialize(); + M->getFunction("func")->dematerialize(); EXPECT_FALSE(M->getFunction("func")->empty()); } @@ -191,7 +191,7 @@ TEST(BitReaderTest, MaterializeFunctionsForBlockAddrInFunctionBefore) { EXPECT_FALSE(verifyModule(*M, &dbgs())); // Try (and fail) to dematerialize @func. - M->getFunction("func")->Dematerialize(); + M->getFunction("func")->dematerialize(); EXPECT_FALSE(M->getFunction("func")->empty()); EXPECT_FALSE(verifyModule(*M, &dbgs())); } @@ -223,7 +223,7 @@ TEST(BitReaderTest, MaterializeFunctionsForBlockAddrInFunctionAfter) { EXPECT_FALSE(verifyModule(*M, &dbgs())); // Try (and fail) to dematerialize @func. - M->getFunction("func")->Dematerialize(); + M->getFunction("func")->dematerialize(); EXPECT_FALSE(M->getFunction("func")->empty()); EXPECT_FALSE(verifyModule(*M, &dbgs())); } |