Skip to content

Commit 083da60

Browse files
cuvipernikic
authored andcommitted
[rust-lldb] FindNamespace no longer takes a SymbolContext
Reference: https://reviews.llvm.org/rLLDB351132
1 parent 52f504d commit 083da60

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lldb/source/Plugins/ExpressionParser/Rust/RustParse.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,10 +518,9 @@ RustPath::FindDecl(ExecutionContext &exe_ctx, Status &error,
518518
return true;
519519
}
520520

521-
SymbolContext null_sc;
522521
CompilerDeclContext found_ns;
523522
for (const ConstString &ns_name : fullname) {
524-
found_ns = symbol_file->FindNamespace(null_sc, ns_name, &found_ns);
523+
found_ns = symbol_file->FindNamespace(ns_name, &found_ns);
525524
if (!found_ns) {
526525
break;
527526
}

0 commit comments

Comments
 (0)