Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/clang/include/clang/Edit/
H A DEditedSource.h100 void commitRemove(SourceLocation OrigLoc, FileOffset BeginOffs, unsigned Len);
102 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DSourceManager.h1351 SourceLocation::UIntTy BeginOffs = Start.getOffset();
1352 SourceLocation::UIntTy EndOffs = BeginOffs + Length;
1353 if (LocOffs >= BeginOffs && LocOffs < EndOffs) {
1355 *RelativeOffset = LocOffs - BeginOffs;
/openbsd-src/gnu/llvm/clang/lib/Basic/
H A DSourceManager.cpp1878 unsigned BeginOffs; in associateFileChunkWithMacroArgExp() local
1879 if (!isInFileID(SpellLoc, FID, &BeginOffs)) in associateFileChunkWithMacroArgExp()
1882 unsigned EndOffs = BeginOffs + ExpansionLength; in associateFileChunkWithMacroArgExp()
1904 MacroArgsCache[BeginOffs] = ExpansionLoc; in associateFileChunkWithMacroArgExp()
/openbsd-src/gnu/llvm/clang/lib/Lex/
H A DLexer.cpp870 unsigned BeginOffs; in makeRangeFromFileLocs() local
871 std::tie(FID, BeginOffs) = SM.getDecomposedLoc(Begin); in makeRangeFromFileLocs()
877 BeginOffs > EndOffs) in makeRangeFromFileLocs()