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.cpp149 FileOffset BeginOffs = InsertFromRangeOffs; in commitInsertFromRange() local
150 FileOffset EndOffs = BeginOffs.getWithOffset(Len); in commitInsertFromRange()
151 FileEditsTy::iterator I = FileEdits.upper_bound(BeginOffs); in commitInsertFromRange()
160 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()
179 StringRef text = getSourceText(BeginOffs, B, Invalid); in commitInsertFromRange()
185 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.h1377 SourceLocation::UIntTy BeginOffs = Start.getOffset();
1378 SourceLocation::UIntTy EndOffs = BeginOffs + Length;
1379 if (LocOffs >= BeginOffs && LocOffs < EndOffs) {
1381 *RelativeOffset = LocOffs - BeginOffs;
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp1827 unsigned BeginOffs; in associateFileChunkWithMacroArgExp() local
1828 if (!isInFileID(SpellLoc, FID, &BeginOffs)) in associateFileChunkWithMacroArgExp()
1831 unsigned EndOffs = BeginOffs + ExpansionLength; in associateFileChunkWithMacroArgExp()
1853 MacroArgsCache[BeginOffs] = ExpansionLoc; in associateFileChunkWithMacroArgExp()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp934 unsigned BeginOffs; in makeRangeFromFileLocs() local
935 std::tie(FID, BeginOffs) = SM.getDecomposedLoc(Begin); in makeRangeFromFileLocs()
941 BeginOffs > EndOffs) in makeRangeFromFileLocs()