forked from OSchip/llvm-project
IR: LLVMContextTest => DebugTypeODRUniquingTest, NFC
The second test in this file is actually testing DICompositeType API, not LLVMContext API (after r266742 moved it to a higher level). This really doesn't make sense in an LLVMContextTest. Rename the tests before adding more. llvm-svn: 266764
This commit is contained in:
parent
6fa512cecf
commit
1561709d57
|
@ -11,12 +11,12 @@ set(IRSources
|
|||
ConstantRangeTest.cpp
|
||||
ConstantsTest.cpp
|
||||
DebugInfoTest.cpp
|
||||
DebugTypeODRUniquingTest.cpp
|
||||
DominatorTreeTest.cpp
|
||||
FunctionTest.cpp
|
||||
IRBuilderTest.cpp
|
||||
InstructionsTest.cpp
|
||||
IntrinsicsTest.cpp
|
||||
LLVMContextTest.cpp
|
||||
LegacyPassManagerTest.cpp
|
||||
MDBuilderTest.cpp
|
||||
MetadataTest.cpp
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//===- LLVMContextTest.cpp - LLVMContext unit tests -----------------------===//
|
||||
//===- DebugTypeODRUniquingTest.cpp - Debug type ODR uniquing tests -------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
@ -14,7 +14,7 @@ using namespace llvm;
|
|||
|
||||
namespace {
|
||||
|
||||
TEST(LLVMContextTest, enableDebugTypeODRUniquing) {
|
||||
TEST(DebugTypeODRUniquingTest, enableDebugTypeODRUniquing) {
|
||||
LLVMContext Context;
|
||||
EXPECT_FALSE(Context.isODRUniquingDebugTypes());
|
||||
Context.enableDebugTypeODRUniquing();
|
||||
|
@ -23,7 +23,7 @@ TEST(LLVMContextTest, enableDebugTypeODRUniquing) {
|
|||
EXPECT_FALSE(Context.isODRUniquingDebugTypes());
|
||||
}
|
||||
|
||||
TEST(LLVMContextTest, getOrInsertODRUniquedType) {
|
||||
TEST(DebugTypeODRUniquingTest, getODRType) {
|
||||
LLVMContext Context;
|
||||
MDString &UUID = *MDString::get(Context, "string");
|
||||
|
Loading…
Reference in New Issue