Skip to content

Commit e34c35a

Browse files
committed
[lldb][PDB] Fix more issues with PDB tests
1 parent 6fe3cd5 commit e34c35a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -413,10 +413,10 @@ TEST_F(SymbolFilePDBTests, TestNestedClassTypes) {
413413
// (with the same compiler type) because the symbols have different IDs.
414414

415415
auto ClassCompilerDeclCtx = CompilerDeclContext(clang_ast_ctx, ClassDeclCtx);
416-
TypeResults query_results;
416+
TypeResults query_results_nested;
417417
symfile->FindTypes(TypeQuery(ClassCompilerDeclCtx, "NestedClass"),
418-
query_results);
419-
TypeMap &more_results = query_results.GetTypeMap();
418+
query_results_nested);
419+
TypeMap &more_results = query_results_nested.GetTypeMap();
420420
EXPECT_LE(1u, more_results.GetSize());
421421

422422
lldb::TypeSP udt_type = more_results.GetTypeAtIndex(0);

0 commit comments

Comments
 (0)