[llvm] r233759 - IR: Rename replaceWithUniqued() tests from r233751
Duncan P. N. Exon Smith
dexonsmith at apple.com
Tue Mar 31 14:05:07 PDT 2015
Author: dexonsmith
Date: Tue Mar 31 16:05:06 2015
New Revision: 233759
URL: http://llvm.org/viewvc/llvm-project?rev=233759&view=rev
Log:
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.
Modified:
llvm/trunk/unittests/IR/MetadataTest.cpp
Modified: llvm/trunk/unittests/IR/MetadataTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/IR/MetadataTest.cpp?rev=233759&r1=233758&r2=233759&view=diff
==============================================================================
--- llvm/trunk/unittests/IR/MetadataTest.cpp (original)
+++ llvm/trunk/unittests/IR/MetadataTest.cpp Tue Mar 31 16:05:06 2015
@@ -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, replaceWithUniquedUnr
EXPECT_TRUE(N->isResolved());
}
-TEST_F(MDNodeTest, replaceWithUniquedUnresolvedChangedOperand) {
+TEST_F(MDNodeTest, replaceWithUniquedChangingOperand) {
// i1* @GV
Type *Ty = Type::getInt1PtrTy(Context);
std::unique_ptr<GlobalVariable> GV(
More information about the llvm-commits
mailing list