Home
last modified time | relevance | path

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

/freebsd-head/contrib/llvm-project/clang/lib/Frontend/
HDTextDiagnostic.cpp340 unsigned CaretStart = 0, CaretEnd = CaretLine.size(); in selectInterestingSourceRegion() local
341 for (; CaretStart != CaretEnd; ++CaretStart) in selectInterestingSourceRegion()
342 if (!isWhitespace(CaretLine[CaretStart])) in selectInterestingSourceRegion()
345 for (; CaretEnd != CaretStart; --CaretEnd) in selectInterestingSourceRegion()
371 CaretStart = std::min(FixItStartCol, CaretStart); in selectInterestingSourceRegion()
382 assert((static_cast<int>(CaretStart) > map.columns() || in selectInterestingSourceRegion()
383 -1!=map.columnToByte(CaretStart)) && in selectInterestingSourceRegion()
396 unsigned SourceStart = map.columnToByte(std::min<unsigned>(CaretStart, in selectInterestingSourceRegion()
401 unsigned CaretColumnsOutsideSource = CaretEnd-CaretStart in selectInterestingSourceRegion()
470 CaretStart = map.byteToColumn(SourceStart); in selectInterestingSourceRegion()
[all …]