Author: David Spickett Date: 2023-12-13T11:49:24Z New Revision: e34c35a21ccc215ce507a1e19b4ff2a1ce9906f3
URL: https://github.com/llvm/llvm-project/commit/e34c35a21ccc215ce507a1e19b4ff2a1ce9906f3 DIFF: https://github.com/llvm/llvm-project/commit/e34c35a21ccc215ce507a1e19b4ff2a1ce9906f3.diff LOG: [lldb][PDB] Fix more issues with PDB tests Added: Modified: lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp Removed: ################################################################################ diff --git a/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp b/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp index 09b36631a81542..c09ed162c023d8 100644 --- a/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp +++ b/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp @@ -413,10 +413,10 @@ TEST_F(SymbolFilePDBTests, TestNestedClassTypes) { // (with the same compiler type) because the symbols have diff erent IDs. auto ClassCompilerDeclCtx = CompilerDeclContext(clang_ast_ctx, ClassDeclCtx); - TypeResults query_results; + TypeResults query_results_nested; symfile->FindTypes(TypeQuery(ClassCompilerDeclCtx, "NestedClass"), - query_results); - TypeMap &more_results = query_results.GetTypeMap(); + query_results_nested); + TypeMap &more_results = query_results_nested.GetTypeMap(); EXPECT_LE(1u, more_results.GetSize()); lldb::TypeSP udt_type = more_results.GetTypeAtIndex(0); _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits