Skip to content

Commit 4b1b457

Browse files
authored
Merge pull request #5835 from augusto2112/fix-move-add-var-info-cherry-pick
[lldb] Fix incorrect cherry-pick moving AddVariableInfo
2 parents fa97d6e + 9f76139 commit 4b1b457

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/ExpressionParser/Swift/SwiftUserExpression.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ static bool AddVariableInfo(
363363
variable_sp->GetScope(), variable_sp->GetSymbolContextScope(),
364364
variable_sp->GetScopeRange(),
365365
const_cast<lldb_private::Declaration *>(&variable_sp->GetDeclaration()),
366-
variable_sp->LocationExpression(), variable_sp->IsExternal(),
366+
variable_sp->LocationExpressionList(), variable_sp->IsExternal(),
367367
variable_sp->IsArtificial(),
368368
variable_sp->GetLocationIsConstantValueData(),
369369
variable_sp->IsStaticMember(), variable_sp->IsConstant());

0 commit comments

Comments
 (0)