Lines Matching refs:move
62 T.Replacement = std::move(*Replacement); in translateEdits()
63 T.Metadata = std::move(*Metadata); in translateEdits()
64 Edits.push_back(std::move(T)); in translateEdits()
70 return [Edits = std::move(Edits)](const MatchResult &Result) { in editList()
76 return [Edit = std::move(Edit)](const MatchResult &Result) { in edit()
82 return [Anchor = std::move(Anchor)](const MatchResult &Result) in noopEdit()
102 return std::move(Generators[0]); in flattenVector()
104 [Gs = std::move(Generators)]( in flattenVector()
119 E.TargetRange = std::move(Target); in changeTo()
120 E.Replacement = std::move(Replacement); in changeTo()
130 SimpleTextGenerator(std::string S) : S(std::move(S)) {} in SimpleTextGenerator()
143 return std::make_shared<SimpleTextGenerator>(std::move(S)); in makeText()
147 return change(std::move(S), makeText("")); in remove()
171 return RewriteRule{{RewriteRule::Case{std::move(M), std::move(Edits), in makeRule()
172 std::move(Explanation)}}}; in makeRule()
187 : Nodes(std::move(Nodes)), InnerMatcher(std::move(InnerMatcher)) {} in BindingsMatcher()
196 *Builder = std::move(Result); in matches()
215 : DescendantMatcher(std::move(DescendantMatcher)) {} in DynamicForEachDescendantMatcher()
231 std::move(Nodes), in forEachDescendantDynamically()
233 new DynamicForEachDescendantMatcher<T>(std::move(M))))); in forEachDescendantDynamically()
238 ApplyRuleCallback(RewriteRule Rule) : Rule(std::move(Rule)) {} in ApplyRuleCallback()
271 ApplyRuleCallback Callback(std::move(Rule)); in rewriteDescendantsImpl()
275 return std::move(Callback.Edits); in rewriteDescendantsImpl()
281 return rewriteDescendantsImpl(Node, std::move(Rule), Result); in rewriteDescendants()
287 return rewriteDescendantsImpl(Node, std::move(Rule), Result); in rewriteDescendants()
293 return rewriteDescendantsImpl(Node, std::move(Rule), Result); in rewriteDescendants()
301 return rewriteDescendantsImpl(*Node, std::move(Rule), Result); in rewriteDescendants()
303 return rewriteDescendantsImpl(*Node, std::move(Rule), Result); in rewriteDescendants()
305 return rewriteDescendantsImpl(*Node, std::move(Rule), Result); in rewriteDescendants()
315 return [NodeId = std::move(NodeId), in rewriteDescendants()
316 Rule = std::move(Rule)](const MatchResult &Result) in rewriteDescendants()
324 return detail::rewriteDescendants(It->second, std::move(Rule), Result); in rewriteDescendants()
331 Case.Edits = flatten(std::move(Case.Edits), addInclude(Header, Format)); in addInclude()
361 : std::move(M)); in taggedMatchers()