File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
lldb/unittests/SymbolFile/PDB Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -414,8 +414,9 @@ TEST_F(SymbolFilePDBTests, TestNestedClassTypes) {
414414
415415 auto ClassCompilerDeclCtx = CompilerDeclContext (clang_ast_ctx, ClassDeclCtx);
416416 TypeResults query_results_nested;
417- symfile->FindTypes (TypeQuery (ClassCompilerDeclCtx, " NestedClass" ),
418- query_results_nested);
417+ symfile->FindTypes (
418+ TypeQuery (ClassCompilerDeclCtx, ConstString (" NestedClass" )),
419+ query_results_nested);
419420 TypeMap &more_results = query_results_nested.GetTypeMap ();
420421 EXPECT_LE (1u , more_results.GetSize ());
421422
@@ -458,7 +459,7 @@ TEST_F(SymbolFilePDBTests, TestClassInNamespace) {
458459 EXPECT_TRUE (ns_namespace_decl_ctx.IsValid ());
459460
460461 TypeResults query_results;
461- symfile->FindTypes (TypeQuery (ns_namespace_decl_ctx, " NSClass" ),
462+ symfile->FindTypes (TypeQuery (ns_namespace_decl_ctx, ConstString ( " NSClass" ) ),
462463 query_results);
463464 TypeMap &results = query_results.GetTypeMap ();
464465 EXPECT_EQ (1u , results.GetSize ());
You can’t perform that action at this time.
0 commit comments