Author: Raphael Isemann Date: 2020-02-18T11:25:12+01:00 New Revision: 3f0661b5e7176e7447ae11ef47195dfe31ab1029
URL: https://github.com/llvm/llvm-project/commit/3f0661b5e7176e7447ae11ef47195dfe31ab1029 DIFF: https://github.com/llvm/llvm-project/commit/3f0661b5e7176e7447ae11ef47195dfe31ab1029.diff LOG: [lldb][NFC] Fix compilation of SymbolFilePDBTests.cpp after FindNamespace API change Since f9568a95493aea3ea813bd37cb8c084ec4294e38 this function takes a CompilerDeclContext reference instead of a pointer. It overlooked this function when I fixed the compilation for FindTypes. 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 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<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, _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits