Lines Matching refs:Sources
114 SourceManager &Sources, FileManager &Files, in createInMemoryFile() argument
117 return Sources.createFileID(Files.getFile(FileName), SourceLocation(), in createInMemoryFile()
138 SourceManager Sources(Diagnostics, Files); in fillRanges() local
139 FileID ID = createInMemoryFile("<irrelevant>", Code, Sources, Files, in fillRanges()
157 SourceLocation Start = Sources.translateLineCol(ID, FromLine, 1); in fillRanges()
158 SourceLocation End = Sources.translateLineCol(ID, ToLine, UINT_MAX); in fillRanges()
161 unsigned Offset = Sources.getFileOffset(Start); in fillRanges()
162 unsigned Length = Sources.getFileOffset(End) - Offset; in fillRanges()
181 Sources.getLocForStartOfFile(ID).getLocWithOffset(Offsets[i]); in fillRanges()
192 End = Sources.getLocForEndOfFile(ID); in fillRanges()
194 unsigned Offset = Sources.getFileOffset(Start); in fillRanges()
195 unsigned Length = Sources.getFileOffset(End) - Offset; in fillRanges()
290 SourceManager Sources(Diagnostics, Files); in format() local
291 FileID ID = createInMemoryFile(AssumedFileName, Code.get(), Sources, Files, in format()
293 Rewriter Rewrite(Sources, LangOptions()); in format()