Lines Matching refs:SourceMgr
26 FormatTokenLexer::FormatTokenLexer(const SourceManager &SourceMgr, FileID ID, in FormatTokenLexer() argument
30 Column(Column), TrailingWhitespace(0), SourceMgr(SourceMgr), ID(ID),
35 Lex.reset(new Lexer(ID, SourceMgr.getBuffer(ID), SourceMgr,
266 resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation(Offset))); in tryParseJSRegexLiteral()
332 : SourceMgr.getLocForEndOfFile(ID); in handleTemplateStrings()
333 resetLexer(SourceMgr.getFileOffset(loc)); in handleTemplateStrings()
353 : SourceMgr.getLocForEndOfFile(ID); in tryParsePythonComment()
354 resetLexer(SourceMgr.getFileOffset(Loc)); in tryParsePythonComment()
410 std::tie(ID, FirstInLineOffset) = SourceMgr.getDecomposedLoc( in tryMergeConflictMarkers()
412 StringRef Buffer = SourceMgr.getBuffer(ID)->getBuffer(); in tryMergeConflictMarkers()
566 resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation(Offset))); in getNextToken()
681 Tok.TokenText = StringRef(SourceMgr.getCharacterData(Tok.Tok.getLocation()), in readRawToken()
716 StringRef Buffer = SourceMgr.getBufferData(ID); in resetLexer()
717 Lex.reset(new Lexer(SourceMgr.getLocForStartOfFile(ID), in resetLexer()