Home
last modified time | relevance | path

Searched refs:getSourceMgr (Results 1 – 14 of 14) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DHTMLPrint.cpp65 FileID FID = R.getSourceMgr().getMainFileID(); in HandleTranslationUnit()
66 const FileEntry* Entry = R.getSourceMgr().getFileEntryForID(FID); in HandleTranslationUnit()
74 Name = R.getSourceMgr().getBuffer(FID)->getBufferIdentifier(); in HandleTranslationUnit()
H A DFixItRewriter.cpp97 const FileEntry *Entry = Rewrite.getSourceMgr().getFileEntryForID(I->first); in WriteFixedFiles()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/
H A DRefactoring.cpp61 Rewrite.getSourceMgr().getFileManager(), FileToReplaces)) in applyAllReplacements()
73 SourceManager &SM = Rewrite.getSourceMgr(); in formatAndApplyAllReplacements()
78 Rewrite.getSourceMgr().getFileManager(), FileToReplaces)) { in formatAndApplyAllReplacements()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Rewrite/
H A DHTMLRewrite.cpp35 SourceManager &SM = R.getSourceMgr(); in HighlightRange()
46 EOffset += Lexer::MeasureTokenLength(E, R.getSourceMgr(), R.getLangOpts()); in HighlightRange()
111 const llvm::MemoryBuffer *Buf = R.getSourceMgr().getBuffer(FID); in EscapeText()
230 const llvm::MemoryBuffer *Buf = R.getSourceMgr().getBuffer(FID); in AddLineNumbers()
278 const llvm::MemoryBuffer *Buf = R.getSourceMgr().getBuffer(FID); in AddHeaderFooterInternalBuiltinCSS()
282 SourceLocation StartLoc = R.getSourceMgr().getLocForStartOfFile(FID); in AddHeaderFooterInternalBuiltinCSS()
H A DRewriter.cpp456 getSourceMgr().getFileEntryForID(I->first); in overwriteChangedFiles()
457 AtomicallyMovedFile File(getSourceMgr().getDiagnostics(), Entry->getName(), in overwriteChangedFiles()
/freebsd-12.1/contrib/llvm/tools/llvm-mca/
H A DCodeRegion.h109 llvm::SourceMgr &getSourceMgr() const { return SM; } in getSourceMgr() function
H A DCodeRegionGenerator.cpp115 createMCAsmParser(Regions.getSourceMgr(), Ctx, Str, MAI)); in parseCodeRegions()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Rewrite/Core/
H A DRewriter.h67 SourceManager &getSourceMgr() const { return *SourceMgr; } in getSourceMgr() function
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DSourceMgr.h285 const SourceMgr *getSourceMgr() const { return SM; } in getSourceMgr() function
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp660 SourceManager &SM = R.getSourceMgr(); in HandlePiece()
905 SourceManager &SM = R.getSourceMgr(); in HighlightRange()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Core/
H A DReplacement.cpp70 SourceManager &SM = Rewrite.getSourceMgr(); in apply()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseStmtAsm.cpp196 const llvm::SourceMgr &LSM = *D.getSourceMgr(); in handleDiagnostic()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenAction.cpp385 const llvm::SourceMgr &LSM = *D.getSourceMgr(); in ConvertBackendLocation()
/freebsd-12.1/contrib/llvm/lib/MC/MCParser/
H A DAsmParser.cpp2292 const SourceMgr &DiagSrcMgr = *Diag.getSourceMgr(); in DiagHandler()
2330 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), Filename, LineNo, in DiagHandler()