Lines Matching refs:Edit
35 static Expected<SmallVector<transformer::Edit, 1>>
37 SmallVector<transformer::Edit, 1> Edits; in translateEdits()
47 return SmallVector<Edit, 0>(); in translateEdits()
54 transformer::Edit T; in translateEdits()
70 EditGenerator transformer::edit(ASTEdit Edit) { in edit() argument
71 return [Edit = std::move(Edit)](const MatchResult &Result) { in edit()
72 return translateEdits(Result, {Edit}); in edit()
78 -> Expected<SmallVector<transformer::Edit, 1>> { in noopEdit()
86 Edit E; in noopEdit()
90 return SmallVector<Edit, 1>{E}; in noopEdit()
100 const MatchResult &Result) -> llvm::Expected<SmallVector<Edit, 1>> { in flattenVector()
101 SmallVector<Edit, 1> AllEdits; in flattenVector()
103 llvm::Expected<SmallVector<Edit, 1>> Edits = G(Result); in flattenVector()
258 Expected<SmallVector<Edit, 1>> Edits = SmallVector<Edit, 1>();
263 llvm::Expected<SmallVector<clang::transformer::Edit, 1>>
273 llvm::Expected<SmallVector<clang::transformer::Edit, 1>>
279 llvm::Expected<SmallVector<clang::transformer::Edit, 1>>
285 llvm::Expected<SmallVector<clang::transformer::Edit, 1>>
291 llvm::Expected<SmallVector<clang::transformer::Edit, 1>>
312 -> llvm::Expected<SmallVector<clang::transformer::Edit, 1>> { in rewriteDescendants()