Home
last modified time | relevance | path

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

/external/clang/lib/Frontend/
DTextDiagnostic.cpp341 unsigned CaretStart = 0, CaretEnd = CaretLine.size(); in selectInterestingSourceRegion() local
342 for (; CaretStart != CaretEnd; ++CaretStart) in selectInterestingSourceRegion()
343 if (!isWhitespace(CaretLine[CaretStart])) in selectInterestingSourceRegion()
346 for (; CaretEnd != CaretStart; --CaretEnd) in selectInterestingSourceRegion()
372 CaretStart = std::min(FixItStartCol, CaretStart); in selectInterestingSourceRegion()
383 assert((static_cast<int>(CaretStart) > map.columns() || in selectInterestingSourceRegion()
384 -1!=map.columnToByte(CaretStart)) && in selectInterestingSourceRegion()
397 unsigned SourceStart = map.columnToByte(std::min<unsigned>(CaretStart, in selectInterestingSourceRegion()
402 unsigned CaretColumnsOutsideSource = CaretEnd-CaretStart in selectInterestingSourceRegion()
471 CaretStart = map.byteToColumn(SourceStart); in selectInterestingSourceRegion()
[all …]