Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp340 unsigned CaretStart = 0, CaretEnd = CaretLine.size(); in selectInterestingSourceRegion() local
341 for (; CaretStart != CaretEnd; ++CaretStart) in selectInterestingSourceRegion()
345 for (; CaretEnd != CaretStart; --CaretEnd) in selectInterestingSourceRegion()
346 if (!isWhitespace(CaretLine[CaretEnd - 1])) in selectInterestingSourceRegion()
372 CaretEnd = std::max(FixItEndCol, CaretEnd); in selectInterestingSourceRegion()
378 while (static_cast<int>(CaretEnd) < map.columns() && in selectInterestingSourceRegion()
379 -1 == map.columnToByte(CaretEnd)) in selectInterestingSourceRegion()
380 ++CaretEnd; in selectInterestingSourceRegion()
386 assert((static_cast<int>(CaretEnd) > map.columns() || in selectInterestingSourceRegion()
387 -1!=map.columnToByte(CaretEnd)) && in selectInterestingSourceRegion()
[all …]