Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DEditedSource.cpp147 FileOffset BeginOffs = InsertFromRangeOffs; in commitInsertFromRange() local
148 FileOffset EndOffs = BeginOffs.getWithOffset(Len); in commitInsertFromRange()
149 FileEditsTy::iterator I = FileEdits.upper_bound(BeginOffs); in commitInsertFromRange()
158 if (BeginOffs == B) in commitInsertFromRange()
161 if (BeginOffs < E) { in commitInsertFromRange()
162 if (BeginOffs > B) { in commitInsertFromRange()
163 BeginOffs = E; in commitInsertFromRange()
175 if (BeginOffs < B) { in commitInsertFromRange()
177 StringRef text = getSourceText(BeginOffs, B, Invalid); in commitInsertFromRange()
183 BeginOffs = E; in commitInsertFromRange()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Edit/
H A DEditedSource.h100 void commitRemove(SourceLocation OrigLoc, FileOffset BeginOffs, unsigned Len);
102 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManager.h1379 SourceLocation::UIntTy BeginOffs = Start.getOffset();
1380 SourceLocation::UIntTy EndOffs = BeginOffs + Length;
1381 if (LocOffs >= BeginOffs && LocOffs < EndOffs) {
1383 *RelativeOffset = LocOffs - BeginOffs;
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp1831 unsigned BeginOffs; in associateFileChunkWithMacroArgExp() local
1832 if (!isInFileID(SpellLoc, FID, &BeginOffs)) in associateFileChunkWithMacroArgExp()
1835 unsigned EndOffs = BeginOffs + ExpansionLength; in associateFileChunkWithMacroArgExp()
1857 MacroArgsCache[BeginOffs] = ExpansionLoc; in associateFileChunkWithMacroArgExp()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp931 auto [FID, BeginOffs] = SM.getDecomposedLoc(Begin); in makeRangeFromFileLocs()
937 BeginOffs > EndOffs) in makeRangeFromFileLocs()