Searched refs:edits (Results 1 – 14 of 14) sorted by relevance
| /llvm-project-15.0.7/clang/docs/ |
| H A D | ClangTransformerTutorial.rst | 205 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 D | ClangFormat.rst | 312 -i apply edits to files instead of displaying a diff
|
| /llvm-project-15.0.7/mlir/lib/Tools/mlir-lsp-server/ |
| H A D | MLIRServer.cpp | 295 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 D | make-shared.rst | 54 If set to non-zero, the check does not suggest edits that will transform
|
| H A D | make-unique.rst | 54 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 D | request-reply.test | 24 # CHECK-NEXT: "message": "edits were not applied: unknown reason"
|
| H A D | semantic-tokens.test | 44 # CHECK-NEXT: "edits": [
|
| /llvm-project-15.0.7/llvm/utils/unittest/googletest/src/ |
| H A D | gtest.cc | 1213 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 D | suspicious-call-argument.rst | 105 For example, given ``something`` and ``anything``, the distance is `4` edits,
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Protocol.cpp | 1126 if (TE.edits) in toJSON() 1127 Result["edits"] = *TE.edits; in toJSON()
|
| H A D | Protocol.h | 1709 llvm::Optional<std::vector<SemanticTokensEdit>> edits; member
|
| H A D | ClangdLSPServer.cpp | 1523 Result.edits = diffTokens(Last.tokens, Toks); in onSemanticTokensDelta()
|
| /llvm-project-15.0.7/mlir/python/mlir/_mlir_libs/_mlir/ |
| H A D | ir.pyi | 7 # * 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 D | Contributing.rst | 304 functions for composing edits to source code to create rewrite rules. Unless you need
|