Skip to content

Commit b25953e

Browse files
committed
[RemoteAST] Fix typo in existential payload calculation.
This only shows up in lldb, so I'm adding a test there and test the two commits together.
1 parent c3fed98 commit b25953e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/RemoteAST/RemoteAST.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,7 @@ class RemoteASTContextConcreteImpl final : public RemoteASTContextImpl {
11811181
if (!typeResult)
11821182
return getFailure<std::pair<Type, RemoteAddress>>();
11831183
return std::make_pair<Type, RemoteAddress>(std::move(typeResult),
1184-
std::move(object));
1184+
RemoteAddress(*pointerval));
11851185
}
11861186

11871187
Result<std::pair<Type, RemoteAddress>>

0 commit comments

Comments
 (0)