Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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 …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Edit/
H A DEditedSource.h100 void commitRemove(SourceLocation OrigLoc, FileOffset BeginOffs, unsigned Len);
102 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DSourceManager.h1338 unsigned BeginOffs = Start.getOffset();
1339 unsigned EndOffs = BeginOffs + Length;
1340 if (LocOffs >= BeginOffs && LocOffs < EndOffs) {
1342 *RelativeOffset = LocOffs - BeginOffs;
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DSourceManager.cpp1872 unsigned BeginOffs; in associateFileChunkWithMacroArgExp() local
1873 if (!isInFileID(SpellLoc, FID, &BeginOffs)) in associateFileChunkWithMacroArgExp()
1876 unsigned EndOffs = BeginOffs + ExpansionLength; in associateFileChunkWithMacroArgExp()
1898 MacroArgsCache[BeginOffs] = ExpansionLoc; in associateFileChunkWithMacroArgExp()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DLexer.cpp865 unsigned BeginOffs; in makeRangeFromFileLocs() local
866 std::tie(FID, BeginOffs) = SM.getDecomposedLoc(Begin); in makeRangeFromFileLocs()
872 BeginOffs > EndOffs) in makeRangeFromFileLocs()