From: Duncan P. N. Exon Smith Date: Tue, 31 Mar 2015 21:05:06 +0000 (+0000) Subject: IR: Rename replaceWithUniqued() tests from r233751 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=34dea0fcaba5749d70e68a231b7e14d953747a00;p=oota-llvm.git IR: Rename replaceWithUniqued() tests from r233751 replaceWithUniquedUnresolved replaceWithUniquedUnresolvedChangedOperand => replaceWithUniquedResolvingOperand replaceWithUniquedChangingOperand I find the new names less confusing; they're also more accurate. Sorry for the churn. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233759 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/IR/MetadataTest.cpp b/unittests/IR/MetadataTest.cpp index 270349e226a..ac8a256e886 100644 --- a/unittests/IR/MetadataTest.cpp +++ b/unittests/IR/MetadataTest.cpp @@ -627,7 +627,7 @@ TEST_F(MDNodeTest, replaceWithUniqued) { } } -TEST_F(MDNodeTest, replaceWithUniquedUnresolved) { +TEST_F(MDNodeTest, replaceWithUniquedResolvingOperand) { // temp !{} MDTuple *Op = MDTuple::getTemporary(Context, None).release(); EXPECT_FALSE(Op->isResolved()); @@ -647,7 +647,7 @@ TEST_F(MDNodeTest, replaceWithUniquedUnresolved) { EXPECT_TRUE(N->isResolved()); } -TEST_F(MDNodeTest, replaceWithUniquedUnresolvedChangedOperand) { +TEST_F(MDNodeTest, replaceWithUniquedChangingOperand) { // i1* @GV Type *Ty = Type::getInt1PtrTy(Context); std::unique_ptr GV(