Lines Matching refs:FID
38 FileID FID = SM.getFileID(B); in HighlightRange() local
39 assert(SM.getFileID(E) == FID && "B/E not in the same file!"); in HighlightRange()
48 const char *BufferStart = SM.getBufferData(FID, &Invalid).data(); in HighlightRange()
52 HighlightRange(R.getEditBuffer(FID), BOffset, EOffset, in HighlightRange()
107 void html::EscapeText(Rewriter &R, FileID FID, in EscapeText() argument
110 const llvm::MemoryBuffer *Buf = R.getSourceMgr().getBuffer(FID); in EscapeText()
116 RewriteBuffer &RB = R.getEditBuffer(FID); in EscapeText()
228 void html::AddLineNumbers(Rewriter& R, FileID FID) { in AddLineNumbers() argument
230 const llvm::MemoryBuffer *Buf = R.getSourceMgr().getBuffer(FID); in AddLineNumbers()
234 RewriteBuffer &RB = R.getEditBuffer(FID); in AddLineNumbers()
272 void html::AddHeaderFooterInternalBuiltinCSS(Rewriter& R, FileID FID, in AddHeaderFooterInternalBuiltinCSS() argument
275 const llvm::MemoryBuffer *Buf = R.getSourceMgr().getBuffer(FID); in AddHeaderFooterInternalBuiltinCSS()
279 SourceLocation StartLoc = R.getSourceMgr().getLocForStartOfFile(FID); in AddHeaderFooterInternalBuiltinCSS()
358 void html::SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP) { in SyntaxHighlight() argument
359 RewriteBuffer &RB = R.getEditBuffer(FID); in SyntaxHighlight()
362 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); in SyntaxHighlight()
363 Lexer L(FID, FromFile, SM, PP.getLangOpts()); in SyntaxHighlight()
447 void html::HighlightMacros(Rewriter &R, FileID FID, const Preprocessor& PP) { in HighlightMacros() argument
452 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); in HighlightMacros()
453 Lexer L(FID, FromFile, SM, PP.getLangOpts()); in HighlightMacros()
521 if (SM.getFileID(LLoc.first) != FID) { in HighlightMacros()
526 assert(SM.getFileID(LLoc.second) == FID && in HighlightMacros()