diff --git a/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp b/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp index 44f77ef0044f..072fe6aaf0f9 100644 --- a/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp +++ b/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp @@ -447,7 +447,7 @@ TEST_F(SymbolFilePDBTests, TestClassInNamespace) { symfile->ParseDeclsForContext(CompilerDeclContext( clang_ast_ctx, static_cast(tu))); - auto ns_namespace = symfile->FindNamespace(ConstString("NS"), nullptr); + auto ns_namespace = symfile->FindNamespace(ConstString("NS"), CompilerDeclContext()); EXPECT_TRUE(ns_namespace.IsValid()); symfile->FindTypes(ConstString("NSClass"), ns_namespace, 0, searched_files,