Home
last modified time | relevance | path

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

/external/clang/lib/Edit/
DEditedSource.cpp91 FileOffset BeginOffs = InsertFromRangeOffs; in commitInsertFromRange() local
92 FileOffset EndOffs = BeginOffs.getWithOffset(Len); in commitInsertFromRange()
93 FileEditsTy::iterator I = FileEdits.upper_bound(BeginOffs); in commitInsertFromRange()
102 if (BeginOffs == B) in commitInsertFromRange()
105 if (BeginOffs < E) { in commitInsertFromRange()
106 if (BeginOffs > B) { in commitInsertFromRange()
107 BeginOffs = E; in commitInsertFromRange()
119 if (BeginOffs < B) { in commitInsertFromRange()
121 StringRef text = getSourceText(BeginOffs, B, Invalid); in commitInsertFromRange()
127 BeginOffs = E; in commitInsertFromRange()
[all …]
/external/clang/include/clang/Edit/
DEditedSource.h78 void commitRemove(SourceLocation OrigLoc, FileOffset BeginOffs, unsigned Len);
80 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
/external/clang/include/clang/Basic/
DSourceManager.h1185 unsigned BeginOffs = Start.getOffset();
1186 unsigned EndOffs = BeginOffs + Length;
1187 if (LocOffs >= BeginOffs && LocOffs < EndOffs) {
1189 *RelativeOffset = LocOffs - BeginOffs;
/external/clang/lib/Basic/
DSourceManager.cpp1879 unsigned BeginOffs; in associateFileChunkWithMacroArgExp() local
1880 if (!isInFileID(SpellLoc, FID, &BeginOffs)) in associateFileChunkWithMacroArgExp()
1883 unsigned EndOffs = BeginOffs + ExpansionLength; in associateFileChunkWithMacroArgExp()
1905 MacroArgsCache[BeginOffs] = ExpansionLoc; in associateFileChunkWithMacroArgExp()
/external/clang/lib/Lex/
DLexer.cpp843 unsigned BeginOffs; in makeRangeFromFileLocs() local
844 std::tie(FID, BeginOffs) = SM.getDecomposedLoc(Begin); in makeRangeFromFileLocs()
850 BeginOffs > EndOffs) in makeRangeFromFileLocs()