[Lldb-commits] [lldb] e34c35a - [lldb][PDB] Fix more issues with PDB tests
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Wed Dec 13 03:50:21 PST 2023
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);
More information about the lldb-commits
mailing list