Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clangd/
DFormat.cpp264 unsigned FormatLimit = Cursor; in formatIncremental() local
266 FormatLimit = std::max(FormatLimit, R.getOffset() + R.getLength()); in formatIncremental()
267 CodeToFormat.resize(FormatLimit); in formatIncremental()
285 FormatLimit += Incremental.CursorPlaceholder.size(); in formatIncremental()
292 if (R.getOffset() + R.getLength() <= FormatLimit) // Before limit. in formatIncremental()
294 else if(R.getOffset() < FormatLimit) { // Overlaps limit. in formatIncremental()
297 R.getOffset(), FormatLimit - R.getOffset(), ""))); in formatIncremental()