Searched refs:BeginOffs (Results 1 – 10 of 10) sorted by relevance
/external/clang/lib/Edit/ |
D | EditedSource.cpp | 133 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/llvm-project/clang/lib/Edit/ |
D | EditedSource.cpp | 149 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 …]
|
/external/clang/include/clang/Edit/ |
D | EditedSource.h | 80 void commitRemove(SourceLocation OrigLoc, FileOffset BeginOffs, unsigned Len); 82 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
|
/external/llvm-project/clang/include/clang/Edit/ |
D | EditedSource.h | 100 void commitRemove(SourceLocation OrigLoc, FileOffset BeginOffs, unsigned Len); 102 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
|
/external/clang/include/clang/Basic/ |
D | SourceManager.h | 1222 unsigned BeginOffs = Start.getOffset(); 1223 unsigned EndOffs = BeginOffs + Length; 1224 if (LocOffs >= BeginOffs && LocOffs < EndOffs) { 1226 *RelativeOffset = LocOffs - BeginOffs;
|
/external/llvm-project/clang/include/clang/Basic/ |
D | SourceManager.h | 1330 unsigned BeginOffs = Start.getOffset(); 1331 unsigned EndOffs = BeginOffs + Length; 1332 if (LocOffs >= BeginOffs && LocOffs < EndOffs) { 1334 *RelativeOffset = LocOffs - BeginOffs;
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 1894 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/llvm-project/clang/lib/Basic/ |
D | SourceManager.cpp | 1818 unsigned BeginOffs; in associateFileChunkWithMacroArgExp() local 1819 if (!isInFileID(SpellLoc, FID, &BeginOffs)) in associateFileChunkWithMacroArgExp() 1822 unsigned EndOffs = BeginOffs + ExpansionLength; in associateFileChunkWithMacroArgExp() 1844 MacroArgsCache[BeginOffs] = ExpansionLoc; in associateFileChunkWithMacroArgExp()
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 845 unsigned BeginOffs; in makeRangeFromFileLocs() local 846 std::tie(FID, BeginOffs) = SM.getDecomposedLoc(Begin); in makeRangeFromFileLocs() 852 BeginOffs > EndOffs) in makeRangeFromFileLocs()
|
/external/llvm-project/clang/lib/Lex/ |
D | Lexer.cpp | 865 unsigned BeginOffs; in makeRangeFromFileLocs() local 866 std::tie(FID, BeginOffs) = SM.getDecomposedLoc(Begin); in makeRangeFromFileLocs() 872 BeginOffs > EndOffs) in makeRangeFromFileLocs()
|