Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clangd/
DFormat.cpp117 std::string CursorPlaceholder; member
189 Result.CursorPlaceholder = !CommentMarker.empty() ? "ident" : "//==\nident"; in getIncrementalChangesAfterNewline()
200 Result.CursorPlaceholder = " /**/"; in getIncrementalChanges()
269 CodeToFormat.insert(Cursor, Incremental.CursorPlaceholder); in formatIncremental()
278 R = tooling::Range(R.getOffset() + Incremental.CursorPlaceholder.size(), in formatIncremental()
283 tooling::Range(Cursor, Incremental.CursorPlaceholder.size())); in formatIncremental()
285 FormatLimit += Incremental.CursorPlaceholder.size(); in formatIncremental()
311 tooling::Replacement(Filename, Cursor, 0, Incremental.CursorPlaceholder)); in formatIncremental()
315 Cursor + Incremental.CursorPlaceholder.size()); in formatIncremental()