aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/IR/MetadataTest.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-03-31 21:05:06 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-03-31 21:05:06 +0000
commit014f1b83eb017ff54f65495cb790858146d1c197 (patch)
tree5a03253c565b46ead62ad9ba5aa9aeb3bbdbfa61 /llvm/unittests/IR/MetadataTest.cpp
parente6e2bb38428822f9183634cde2c8543512ee8d7d (diff)
downloadllvm-014f1b83eb017ff54f65495cb790858146d1c197.zip
llvm-014f1b83eb017ff54f65495cb790858146d1c197.tar.gz
llvm-014f1b83eb017ff54f65495cb790858146d1c197.tar.bz2
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. llvm-svn: 233759
Diffstat (limited to 'llvm/unittests/IR/MetadataTest.cpp')
-rw-r--r--llvm/unittests/IR/MetadataTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/IR/MetadataTest.cpp b/llvm/unittests/IR/MetadataTest.cpp
index 270349e..ac8a256 100644
--- a/llvm/unittests/IR/MetadataTest.cpp
+++ b/llvm/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<GlobalVariable> GV(