Searched refs:EndOffs (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/Edit/ |
H A D | EditedSource.cpp | 150 FileOffset EndOffs = BeginOffs.getWithOffset(Len); in commitInsertFromRange() local 172 for (; I != FileEdits.end() && EndOffs > I->first; ++I) { in commitInsertFromRange() 188 if (BeginOffs < EndOffs) { in commitInsertFromRange() 190 StringRef text = getSourceText(BeginOffs, EndOffs, Invalid); in commitInsertFromRange() 204 FileOffset EndOffs = BeginOffs.getWithOffset(Len); in commitRemove() local 235 TopEnd = EndOffs; in commitRemove() 242 if (TopEnd >= EndOffs) in commitRemove() 244 unsigned diff = EndOffs.getOffset() - TopEnd.getOffset(); in commitRemove() 245 TopEnd = EndOffs; in commitRemove() 454 StringRef EditedSource::getSourceText(FileOffset BeginOffs, FileOffset EndOffs, in getSourceText() argument [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Rewrite/Core/ |
H A D | RewriteRope.h | 61 unsigned EndOffs = 0; member 66 : StrData(std::move(Str)), StartOffs(Start), EndOffs(End) {} in RopePiece() 75 unsigned size() const { return EndOffs-StartOffs; } in size()
|
/freebsd/contrib/llvm-project/clang/include/clang/Edit/ |
H A D | EditedSource.h | 102 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
|
/freebsd/contrib/llvm-project/clang/lib/Rewrite/ |
H A D | RewriteRope.cpp | 263 Pieces[i].EndOffs); in split() 265 Pieces[i].EndOffs = Pieces[i].StartOffs+IntraPieceOffset; in split()
|
/freebsd/contrib/llvm-project/clang/lib/Lex/ |
H A D | Lexer.cpp | 939 unsigned EndOffs; in makeRangeFromFileLocs() local 940 if (!SM.isInFileID(End, FID, &EndOffs) || in makeRangeFromFileLocs() 941 BeginOffs > EndOffs) in makeRangeFromFileLocs() 1041 unsigned EndOffs; in getSourceText() local 1042 if (!SM.isInFileID(Range.getEnd(), beginInfo.first, &EndOffs) || in getSourceText() 1043 beginInfo.second > EndOffs) { in getSourceText() 1057 return file.substr(beginInfo.second, EndOffs - beginInfo.second); in getSourceText()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | SourceManager.h | 1378 SourceLocation::UIntTy EndOffs = BeginOffs + Length; variable 1379 if (LocOffs >= BeginOffs && LocOffs < EndOffs) {
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | SourceManager.cpp | 1831 unsigned EndOffs = BeginOffs + ExpansionLength; in associateFileChunkWithMacroArgExp() local 1850 MacroArgsMap::iterator I = MacroArgsCache.upper_bound(EndOffs); in associateFileChunkWithMacroArgExp() 1854 MacroArgsCache[EndOffs] = EndOffsMappedLoc; in associateFileChunkWithMacroArgExp()
|