Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp396 unsigned SourceStart = map.columnToByte(std::min<unsigned>(CaretStart, in selectInterestingSourceRegion() local
402 - (map.byteToColumn(SourceEnd)-map.byteToColumn(SourceStart)); in selectInterestingSourceRegion()
415 while (SourceStart>0 || SourceEnd<SourceLine.size()) { in selectInterestingSourceRegion()
418 if (SourceStart>0) { in selectInterestingSourceRegion()
419 unsigned NewStart = map.startOfPreviousColumn(SourceStart); in selectInterestingSourceRegion()
439 SourceStart = NewStart; in selectInterestingSourceRegion()
459 map.byteToColumn(SourceStart); in selectInterestingSourceRegion()
470 CaretStart = map.byteToColumn(SourceStart); in selectInterestingSourceRegion()
476 SourceStart!=(unsigned)-1 && SourceEnd!=(unsigned)-1); in selectInterestingSourceRegion()
477 assert(SourceStart <= SourceEnd); in selectInterestingSourceRegion()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DConvertUTFWrapper.cpp66 const UTF32 *SourceStart = &Source; in ConvertCodePointToUTF8() local
67 const UTF32 *SourceEnd = SourceStart + 1; in ConvertCodePointToUTF8()
71 &SourceStart, SourceEnd, &TargetStart, TargetEnd, strictConversion); in ConvertCodePointToUTF8()