Skip to content

Commit f2a0657

Browse files
committed
fix: resolve auto
1 parent f65c12e commit f2a0657

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ lldb::FunctionSP SymbolFileNativePDB::CreateFunction(PdbCompilandSymId func_id,
501501
return nullptr;
502502

503503
PdbTypeSymId sig_id(proc.FunctionType, false);
504-
auto mangled_opt =
504+
std::optional<llvm::StringRef> mangled_opt =
505505
FindMangledSymbol(SegmentOffset(proc.Segment, proc.CodeOffset));
506506
Mangled mangled(mangled_opt.value_or(proc.Name));
507507
FunctionSP func_sp = std::make_shared<Function>(

0 commit comments

Comments
 (0)