[LLDB][NativePDB] Followup c50817d1be

This commit is contained in:
Zequan Wu 2022-04-15 12:08:38 -07:00
parent 3ef4099a61
commit dc100ebfda
1 changed files with 1 additions and 0 deletions

View File

@ -1251,6 +1251,7 @@ void PdbAstBuilder::CreateFunctionParameters(PdbCompilandSymId func_id,
CVSymbolArray scope =
cii->m_debug_stream.getSymbolArrayForScope(func_id.offset);
scope.drop_front();
auto begin = scope.begin();
auto end = scope.end();
std::vector<clang::ParmVarDecl *> params;