Home
last modified time | relevance | path

Searched refs:edits (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/clang/docs/
H A DClangTransformerTutorial.rst205 Reference: ranges, stencils, edits, rules
209 we touched on has more available constructors: range selectors, stencils, edits
277 Transformer supports additional forms of edits. First, in a ``changeTo``, we can
294 multiple edits for each match. For example, suppose we wanted to swap two
297 For this, we provide an overload of ``makeRule`` that takes a list of edits,
310 The particular edits we've seen so far are all instances of the ``ASTEdit`` class,
311 or a list of such. But, not all edits can be expressed as ``ASTEdit``\ s. So, we
319 of edits, or fails. This signature supports a very general form of computation
329 We can also compose multiple *rules*, rather than just edits within a rule,
H A DClangFormat.rst312 -i apply edits to files instead of displaying a diff
/llvm-project-15.0.7/mlir/lib/Tools/mlir-lsp-server/
H A DMLIRServer.cpp295 std::vector<lsp::TextEdit> &edits);
812 StringRef message, std::vector<lsp::TextEdit> &edits) { in getCodeActionForDiagnostic() argument
839 edits.emplace_back(std::move(edit)); in getCodeActionForDiagnostic()
1090 std::vector<lsp::TextEdit> edits; in getCodeActions() local
1092 diag.message, edits); in getCodeActions()
1102 noteDiag.message, edits); in getCodeActions()
1106 for (lsp::TextEdit &edit : edits) in getCodeActions()
1110 action.edit->changes[uri.uri().str()] = std::move(edits); in getCodeActions()
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/modernize/
H A Dmake-shared.rst54 If set to non-zero, the check does not suggest edits that will transform
H A Dmake-unique.rst54 If set to non-zero, the check does not suggest edits that will transform
/llvm-project-15.0.7/clang-tools-extra/clangd/test/
H A Drequest-reply.test24 # CHECK-NEXT: "message": "edits were not applied: unknown reason"
H A Dsemantic-tokens.test44 # CHECK-NEXT: "edits": [
/llvm-project-15.0.7/llvm/utils/unittest/googletest/src/
H A Dgtest.cc1213 const std::vector<EditType> edits = CalculateOptimalEdits(left, right); in CreateUnifiedDiff() local
1217 while (edit_i < edits.size()) { in CreateUnifiedDiff()
1219 while (edit_i < edits.size() && edits[edit_i] == kMatch) { in CreateUnifiedDiff()
1235 for (; edit_i < edits.size(); ++edit_i) { in CreateUnifiedDiff()
1238 auto it = edits.begin() + static_cast<int>(edit_i); in CreateUnifiedDiff()
1239 while (it != edits.end() && *it == kMatch) ++it; in CreateUnifiedDiff()
1240 if (it == edits.end() || in CreateUnifiedDiff()
1241 static_cast<size_t>(it - edits.begin()) - edit_i >= context) { in CreateUnifiedDiff()
1247 EditType edit = edits[edit_i]; in CreateUnifiedDiff()
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Dsuspicious-call-argument.rst105 For example, given ``something`` and ``anything``, the distance is `4` edits,
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DProtocol.cpp1126 if (TE.edits) in toJSON()
1127 Result["edits"] = *TE.edits; in toJSON()
H A DProtocol.h1709 llvm::Optional<std::vector<SemanticTokensEdit>> edits; member
H A DClangdLSPServer.cpp1523 Result.edits = diffTokens(Last.tokens, Toks); in onSemanticTokensDelta()
/llvm-project-15.0.7/mlir/python/mlir/_mlir_libs/_mlir/
H A Dir.pyi7 # * Local edits to signatures and types that MyPy did not auto detect (or
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/
H A DContributing.rst304 functions for composing edits to source code to create rewrite rules. Unless you need