IR: Rename replaceWithUniqued() tests from r233751
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 31 Mar 2015 21:05:06 +0000 (21:05 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 31 Mar 2015 21:05:06 +0000 (21:05 +0000)
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

unittests/IR/MetadataTest.cpp

index 270349e226a9b87661ffdae99dc44cc965db1ef6..ac8a256e88640d6892fc8c3cd0c3a0355704cf07 100644 (file)
@@ -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<GlobalVariable> GV(