Skip to content

Commit 0c7d601

Browse files
dccifredriss
authored andcommitted
[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. (cherry picked from commit b25953e)
1 parent 8f039b0 commit 0c7d601

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
@@ -1183,7 +1183,7 @@ class RemoteASTContextConcreteImpl final : public RemoteASTContextImpl {
11831183
if (!typeResult)
11841184
return getFailure<std::pair<Type, RemoteAddress>>();
11851185
return std::make_pair<Type, RemoteAddress>(std::move(typeResult),
1186-
std::move(object));
1186+
RemoteAddress(*pointerval));
11871187
}
11881188

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

0 commit comments

Comments
 (0)