Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Edit/
H A DEditedSource.cpp160 if (BeginOffs == B) in commitInsertFromRange()
163 if (BeginOffs < E) { in commitInsertFromRange()
164 if (BeginOffs > B) { in commitInsertFromRange()
165 BeginOffs = E; in commitInsertFromRange()
177 if (BeginOffs < B) { in commitInsertFromRange()
185 BeginOffs = E; in commitInsertFromRange()
188 if (BeginOffs < EndOffs) { in commitInsertFromRange()
214 if (BeginOffs < E) in commitRemove()
231 if (BeginOffs < B) { in commitRemove()
234 TopBegin = BeginOffs; in commitRemove()
[all …]
/llvm-project-15.0.7/clang/include/clang/Edit/
H A DEditedSource.h100 void commitRemove(SourceLocation OrigLoc, FileOffset BeginOffs, unsigned Len);
102 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DSourceManager.h1346 SourceLocation::UIntTy BeginOffs = Start.getOffset();
1347 SourceLocation::UIntTy EndOffs = BeginOffs + Length;
1348 if (LocOffs >= BeginOffs && LocOffs < EndOffs) {
1350 *RelativeOffset = LocOffs - BeginOffs;
/llvm-project-15.0.7/clang/lib/Basic/
H A DSourceManager.cpp1869 unsigned BeginOffs; in associateFileChunkWithMacroArgExp() local
1870 if (!isInFileID(SpellLoc, FID, &BeginOffs)) in associateFileChunkWithMacroArgExp()
1873 unsigned EndOffs = BeginOffs + ExpansionLength; in associateFileChunkWithMacroArgExp()
1895 MacroArgsCache[BeginOffs] = ExpansionLoc; in associateFileChunkWithMacroArgExp()
/llvm-project-15.0.7/clang/lib/Lex/
H A DLexer.cpp871 unsigned BeginOffs; in makeRangeFromFileLocs() local
872 std::tie(FID, BeginOffs) = SM.getDecomposedLoc(Begin); in makeRangeFromFileLocs()
878 BeginOffs > EndOffs) in makeRangeFromFileLocs()