Home
last modified time | relevance | path

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

/external/clang/lib/Edit/
DEditedSource.cpp133 FileOffset BeginOffs = InsertFromRangeOffs; in commitInsertFromRange() local
134 FileOffset EndOffs = BeginOffs.getWithOffset(Len); in commitInsertFromRange()
135 FileEditsTy::iterator I = FileEdits.upper_bound(BeginOffs); in commitInsertFromRange()
144 if (BeginOffs == B) in commitInsertFromRange()
147 if (BeginOffs < E) { in commitInsertFromRange()
148 if (BeginOffs > B) { in commitInsertFromRange()
149 BeginOffs = E; in commitInsertFromRange()
161 if (BeginOffs < B) { in commitInsertFromRange()
163 StringRef text = getSourceText(BeginOffs, B, Invalid); in commitInsertFromRange()
169 BeginOffs = E; in commitInsertFromRange()
[all …]
/external/clang/include/clang/Edit/
DEditedSource.h80 void commitRemove(SourceLocation OrigLoc, FileOffset BeginOffs, unsigned Len);
82 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
/external/clang/include/clang/Basic/
DSourceManager.h1222 unsigned BeginOffs = Start.getOffset();
1223 unsigned EndOffs = BeginOffs + Length;
1224 if (LocOffs >= BeginOffs && LocOffs < EndOffs) {
1226 *RelativeOffset = LocOffs - BeginOffs;
/external/clang/lib/Basic/
DSourceManager.cpp1894 unsigned BeginOffs; in associateFileChunkWithMacroArgExp() local
1895 if (!isInFileID(SpellLoc, FID, &BeginOffs)) in associateFileChunkWithMacroArgExp()
1898 unsigned EndOffs = BeginOffs + ExpansionLength; in associateFileChunkWithMacroArgExp()
1920 MacroArgsCache[BeginOffs] = ExpansionLoc; in associateFileChunkWithMacroArgExp()
/external/clang/lib/Lex/
DLexer.cpp845 unsigned BeginOffs; in makeRangeFromFileLocs() local
846 std::tie(FID, BeginOffs) = SM.getDecomposedLoc(Begin); in makeRangeFromFileLocs()
852 BeginOffs > EndOffs) in makeRangeFromFileLocs()