Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DHTMLPrint.cpp65 FileID FID = R.getSourceMgr().getMainFileID(); in HandleTranslationUnit()
66 OptionalFileEntryRef Entry = R.getSourceMgr().getFileEntryRefForID(FID); in HandleTranslationUnit()
74 Name = R.getSourceMgr().getBufferOrFake(FID).getBufferIdentifier(); in HandleTranslationUnit()
H A DFixItRewriter.cpp97 Rewrite.getSourceMgr().getFileEntryRefForID(I->first); in WriteFixedFiles()
/freebsd/contrib/llvm-project/clang/lib/Tooling/
H A DRefactoring.cpp58 Rewrite.getSourceMgr().getFileManager(), FileToReplaces)) in applyAllReplacements()
70 SourceManager &SM = Rewrite.getSourceMgr(); in formatAndApplyAllReplacements()
75 Rewrite.getSourceMgr().getFileManager(), FileToReplaces)) { in formatAndApplyAllReplacements()
/freebsd/contrib/llvm-project/lldb/tools/lldb-instr/
H A DInstrument.cpp61 MyRewriter.getSourceMgr().getExpansionRange(C->getSourceRange()); in VisitCXXMethodDecl()
66 Body->getBeginLoc(), 0, MyRewriter.getSourceMgr(), in VisitCXXMethodDecl()
88 if (!MyRewriter.getSourceMgr().isInMainFile(Decl->getBeginLoc())) in ShouldSkip()
/freebsd/contrib/llvm-project/clang/lib/Rewrite/
H A DHTMLRewrite.cpp35 SourceManager &SM = R.getSourceMgr(); in HighlightRange()
46 EOffset += Lexer::MeasureTokenLength(E, R.getSourceMgr(), R.getLangOpts()); in HighlightRange()
137 llvm::MemoryBufferRef Buf = R.getSourceMgr().getBufferOrFake(FID); in EscapeText()
256 llvm::MemoryBufferRef Buf = R.getSourceMgr().getBufferOrFake(FID); in AddLineNumbers()
304 llvm::MemoryBufferRef Buf = R.getSourceMgr().getBufferOrFake(FID); in AddHeaderFooterInternalBuiltinCSS()
308 SourceLocation StartLoc = R.getSourceMgr().getLocForStartOfFile(FID); in AddHeaderFooterInternalBuiltinCSS()
H A DRewriter.cpp316 auto& Diag = getSourceMgr().getDiagnostics(); in overwriteChangedFiles()
320 OptionalFileEntryRef Entry = getSourceMgr().getFileEntryRefForID(I->first); in overwriteChangedFiles()
322 getSourceMgr().getFileManager().makeAbsolutePath(Path); in overwriteChangedFiles()
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/
H A DCodeRegionGenerator.cpp49 createMCAsmParser(Regions.getSourceMgr(), Ctx, *Str, MAI)); in parseCodeRegions()
H A DCodeRegion.h171 llvm::SourceMgr &getSourceMgr() const { return SM; } in getSourceMgr() function
/freebsd/contrib/llvm-project/clang/include/clang/Rewrite/Core/
H A DRewriter.h78 SourceManager &getSourceMgr() const { return *SourceMgr; } in getSourceMgr() function
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DSourceMgr.h307 const SourceMgr *getSourceMgr() const { return SM; } in getSourceMgr() function
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp896 SourceManager &SM = R.getSourceMgr(); in HandlePiece()
1206 R.InsertTextBefore(R.getSourceMgr().getLocForStartOfFile(BugFileID),
1246 SourceManager &SM = R.getSourceMgr(); in HighlightRange()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Core/
H A DReplacement.cpp69 SourceManager &SM = Rewrite.getSourceMgr(); in apply()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseStmtAsm.cpp192 const llvm::SourceMgr &LSM = *D.getSourceMgr(); in handleDiagnostic()
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStub.cpp1064 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), File->Path, in DiagHandler()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenAction.cpp369 const llvm::SourceMgr &LSM = *D.getSourceMgr(); in ConvertBackendLocation()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp2387 const SourceMgr &DiagSrcMgr = *Diag.getSourceMgr(); in DiagHandler()
2424 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), Filename, LineNo, in DiagHandler()
H A DMasmParser.cpp2395 const SourceMgr &DiagSrcMgr = *Diag.getSourceMgr(); in DiagHandler()
2433 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), Filename, LineNo, in DiagHandler()