mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-29 22:30:33 +00:00
Remove some unused variables
llvm-svn: 263396
This commit is contained in:
parent
12d624a26a
commit
71951ed5d5
@ -422,13 +422,12 @@ TEST_F(IRBuilderTest, DebugLoc) {
|
||||
TEST_F(IRBuilderTest, DIImportedEntity) {
|
||||
IRBuilder<> Builder(BB);
|
||||
DIBuilder DIB(*M);
|
||||
auto File = DIB.createFile("F.CBL", "/");
|
||||
auto CU = DIB.createCompileUnit(dwarf::DW_LANG_Cobol74, "F.CBL", "/",
|
||||
"llvm-cobol74", true, "", 0);
|
||||
auto IE1 = DIB.createImportedDeclaration(CU, nullptr, 1);
|
||||
auto IE2 = DIB.createImportedDeclaration(CU, nullptr, 1);
|
||||
auto IE3 = DIB.createImportedModule(CU, (DIImportedEntity*)nullptr, 2);
|
||||
auto IE4 = DIB.createImportedModule(CU, (DIImportedEntity*)nullptr, 2);
|
||||
DIB.createImportedDeclaration(CU, nullptr, 1);
|
||||
DIB.createImportedDeclaration(CU, nullptr, 1);
|
||||
DIB.createImportedModule(CU, (DIImportedEntity *)nullptr, 2);
|
||||
DIB.createImportedModule(CU, (DIImportedEntity *)nullptr, 2);
|
||||
DIB.finalize();
|
||||
EXPECT_TRUE(verifyModule(*M));
|
||||
EXPECT_TRUE(CU->getImportedEntities().size() == 2);
|
||||
|
Loading…
Reference in New Issue
Block a user