Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DEditedSource.cpp150 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 DRewriteRope.h61 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 DEditedSource.h102 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
/freebsd/contrib/llvm-project/clang/lib/Rewrite/
H A DRewriteRope.cpp263 Pieces[i].EndOffs); in split()
265 Pieces[i].EndOffs = Pieces[i].StartOffs+IntraPieceOffset; in split()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp939 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 DSourceManager.h1378 SourceLocation::UIntTy EndOffs = BeginOffs + Length; variable
1379 if (LocOffs >= BeginOffs && LocOffs < EndOffs) {
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp1831 unsigned EndOffs = BeginOffs + ExpansionLength; in associateFileChunkWithMacroArgExp() local
1850 MacroArgsMap::iterator I = MacroArgsCache.upper_bound(EndOffs); in associateFileChunkWithMacroArgExp()
1854 MacroArgsCache[EndOffs] = EndOffsMappedLoc; in associateFileChunkWithMacroArgExp()