Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DHTMLPrint.cpp64 FileID FID = R.getSourceMgr().getMainFileID(); in HandleTranslationUnit()
65 OptionalFileEntryRef Entry = R.getSourceMgr().getFileEntryRefForID(FID); in HandleTranslationUnit()
73 Name = R.getSourceMgr().getBufferOrFake(FID).getBufferIdentifier(); in HandleTranslationUnit()
H A DFixItRewriter.cpp97 Rewrite.getSourceMgr().getFileEntryRefForID(I->first); in WriteFixedFiles()
/freebsd-14.2/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-14.2/contrib/llvm-project/lldb/tools/lldb-instr/
H A DInstrument.cpp60 MyRewriter.getSourceMgr().getExpansionRange(C->getSourceRange()); in VisitCXXMethodDecl()
65 Body->getBeginLoc(), 0, MyRewriter.getSourceMgr(), in VisitCXXMethodDecl()
87 if (!MyRewriter.getSourceMgr().isInMainFile(Decl->getBeginLoc())) in ShouldSkip()
/freebsd-14.2/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.cpp411 auto& Diag = getSourceMgr().getDiagnostics(); in overwriteChangedFiles()
415 OptionalFileEntryRef Entry = getSourceMgr().getFileEntryRefForID(I->first); in overwriteChangedFiles()
417 getSourceMgr().getFileManager().makeAbsolutePath(Path); in overwriteChangedFiles()
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DSourceMgrAdapter.cpp94 if (auto *LLVMSrcMgr = Diag.getSourceMgr()) in handleDiag()
122 if (auto *LLVMSrcMgr = Diag.getSourceMgr()) { in handleDiag()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-mca/
H A DCodeRegionGenerator.cpp50 createMCAsmParser(Regions.getSourceMgr(), Ctx, *Str, MAI)); in parseCodeRegions()
H A DCodeRegion.h158 llvm::SourceMgr &getSourceMgr() const { return SM; } in getSourceMgr() function
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Rewrite/Core/
H A DRewriter.h77 SourceManager &getSourceMgr() const { return *SourceMgr; } in getSourceMgr() function
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DSourceMgr.h305 const SourceMgr *getSourceMgr() const { return SM; } in getSourceMgr() function
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp900 SourceManager &SM = R.getSourceMgr(); in HandlePiece()
1210 R.InsertTextBefore(R.getSourceMgr().getLocForStartOfFile(BugFileID),
1249 SourceManager &SM = R.getSourceMgr(); in HighlightRange()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Core/
H A DReplacement.cpp69 SourceManager &SM = Rewrite.getSourceMgr(); in apply()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseStmtAsm.cpp194 const llvm::SourceMgr &LSM = *D.getSourceMgr(); in handleDiagnostic()
/freebsd-14.2/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStub.cpp1065 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), File->Path, in DiagHandler()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenAction.cpp432 const llvm::SourceMgr &LSM = *D.getSourceMgr(); in ConvertBackendLocation()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp2448 const SourceMgr &DiagSrcMgr = *Diag.getSourceMgr(); in DiagHandler()
2485 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), Filename, LineNo, in DiagHandler()
H A DMasmParser.cpp2777 const SourceMgr &DiagSrcMgr = *Diag.getSourceMgr(); in DiagHandler()
2815 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), Filename, LineNo, in DiagHandler()