Searched refs:SourceStart (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | TextDiagnostic.cpp | 396 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() 478 SourceStart!=(unsigned)-1 && SourceEnd!=(unsigned)-1); in selectInterestingSourceRegion() 479 assert(SourceStart <= SourceEnd); in selectInterestingSourceRegion() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | ConvertUTFWrapper.cpp | 66 const UTF32 *SourceStart = &Source; in ConvertCodePointToUTF8() local 67 const UTF32 *SourceEnd = SourceStart + 1; in ConvertCodePointToUTF8() 71 &SourceStart, SourceEnd, &TargetStart, TargetEnd, strictConversion); in ConvertCodePointToUTF8()
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | ConvertUTFTest.cpp | 175 const UTF8 *SourceStart = reinterpret_cast<const UTF8 *>(S.data()); in ConvertUTF8ToUnicodeScalarsLenient() local 177 const UTF8 *SourceNext = SourceStart; in ConvertUTF8ToUnicodeScalarsLenient() 182 ConvertUTF8toUTF32(&SourceNext, SourceStart + S.size(), &TargetStart, in ConvertUTF8ToUnicodeScalarsLenient() 192 const UTF8 *SourceStart = reinterpret_cast<const UTF8 *>(S.data()); in ConvertUTF8ToUnicodeScalarsPartialLenient() local 194 const UTF8 *SourceNext = SourceStart; in ConvertUTF8ToUnicodeScalarsPartialLenient() 199 &SourceNext, SourceStart + S.size(), &TargetStart, in ConvertUTF8ToUnicodeScalarsPartialLenient()
|