forked from OSchip/llvm-project
[lldb][NFC] Fix compilation of SymbolFilePDBTests.cpp after FindNamespace API change
Since f9568a9549
this function takes a
CompilerDeclContext reference instead of a pointer. It overlooked this function
when I fixed the compilation for FindTypes.
This commit is contained in:
parent
dd230142d8
commit
3f0661b5e7
|
@ -447,7 +447,7 @@ TEST_F(SymbolFilePDBTests, TestClassInNamespace) {
|
|||
symfile->ParseDeclsForContext(CompilerDeclContext(
|
||||
clang_ast_ctx, static_cast<clang::DeclContext *>(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,
|
||||
|
|
Loading…
Reference in New Issue