Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DHTMLPrint.cpp64 FileID FID = R.getSourceMgr().getMainFileID(); in HandleTranslationUnit()
65 const FileEntry* Entry = R.getSourceMgr().getFileEntryForID(FID); in HandleTranslationUnit()
73 Name = R.getSourceMgr().getBufferOrFake(FID).getBufferIdentifier(); in HandleTranslationUnit()
H A DFixItRewriter.cpp96 const FileEntry *Entry = Rewrite.getSourceMgr().getFileEntryForID(I->first); in WriteFixedFiles()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/
H A DRefactoring.cpp60 Rewrite.getSourceMgr().getFileManager(), FileToReplaces)) in applyAllReplacements()
72 SourceManager &SM = Rewrite.getSourceMgr(); in formatAndApplyAllReplacements()
77 Rewrite.getSourceMgr().getFileManager(), FileToReplaces)) { in formatAndApplyAllReplacements()
/freebsd-13.1/contrib/llvm-project/clang/lib/Rewrite/
H A DHTMLRewrite.cpp34 SourceManager &SM = R.getSourceMgr(); in HighlightRange()
45 EOffset += Lexer::MeasureTokenLength(E, R.getSourceMgr(), R.getLangOpts()); in HighlightRange()
110 llvm::MemoryBufferRef Buf = R.getSourceMgr().getBufferOrFake(FID); in EscapeText()
229 llvm::MemoryBufferRef Buf = R.getSourceMgr().getBufferOrFake(FID); in AddLineNumbers()
277 llvm::MemoryBufferRef Buf = R.getSourceMgr().getBufferOrFake(FID); in AddHeaderFooterInternalBuiltinCSS()
281 SourceLocation StartLoc = R.getSourceMgr().getLocForStartOfFile(FID); in AddHeaderFooterInternalBuiltinCSS()
H A DRewriter.cpp469 getSourceMgr().getFileEntryForID(I->first); in overwriteChangedFiles()
470 AtomicallyMovedFile File(getSourceMgr().getDiagnostics(), Entry->getName(), in overwriteChangedFiles()
/freebsd-13.1/contrib/llvm-project/lldb/tools/lldb-instr/
H A DInstrument.cpp148 CharSourceRange::getTokenRange(R), MyRewriter.getSourceMgr(), in VisitReturnStmt()
241 Body->getBeginLoc(), 0, MyRewriter.getSourceMgr(), in VisitCXXMethodDecl()
269 if (!MyRewriter.getSourceMgr().isInMainFile(Decl->getBeginLoc())) in ShouldSkip()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-mca/
H A DCodeRegion.h112 llvm::SourceMgr &getSourceMgr() const { return SM; } in getSourceMgr() function
H A DCodeRegionGenerator.cpp127 createMCAsmParser(Regions.getSourceMgr(), Ctx, Str, MAI)); in parseCodeRegions()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Rewrite/Core/
H A DRewriter.h77 SourceManager &getSourceMgr() const { return *SourceMgr; } in getSourceMgr() function
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DSourceMgr.h275 const SourceMgr *getSourceMgr() const { return SM; } in getSourceMgr() function
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp804 SourceManager &SM = R.getSourceMgr(); in HandlePiece()
1056 SourceManager &SM = R.getSourceMgr(); in HighlightRange()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Core/
H A DReplacement.cpp69 SourceManager &SM = Rewrite.getSourceMgr(); in apply()
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseStmtAsm.cpp194 const llvm::SourceMgr &LSM = *D.getSourceMgr(); in handleDiagnostic()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenAction.cpp421 const llvm::SourceMgr &LSM = *D.getSourceMgr(); in ConvertBackendLocation()
/freebsd-13.1/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStub.cpp1100 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), File->Path, in DiagHandler()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp2437 const SourceMgr &DiagSrcMgr = *Diag.getSourceMgr(); in DiagHandler()
2474 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), Filename, LineNo, in DiagHandler()
H A DMasmParser.cpp2829 const SourceMgr &DiagSrcMgr = *Diag.getSourceMgr(); in DiagHandler()
2867 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), Filename, LineNo, in DiagHandler()