Home
last modified time | relevance | path

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

/src/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()
/src/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()
/src/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()
/src/contrib/llvm-project/clang/lib/Rewrite/
H A DHTMLRewrite.cpp36 SourceManager &SM = R.getSourceMgr(); in HighlightRange()
47 EOffset += Lexer::MeasureTokenLength(E, R.getSourceMgr(), R.getLangOpts()); in HighlightRange()
138 llvm::MemoryBufferRef Buf = R.getSourceMgr().getBufferOrFake(FID); in EscapeText()
257 llvm::MemoryBufferRef Buf = R.getSourceMgr().getBufferOrFake(FID); in AddLineNumbers()
305 llvm::MemoryBufferRef Buf = R.getSourceMgr().getBufferOrFake(FID); in AddHeaderFooterInternalBuiltinCSS()
309 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()
/src/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()
/src/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
/src/contrib/llvm-project/clang/include/clang/Rewrite/Core/
H A DRewriter.h77 SourceManager &getSourceMgr() const { return *SourceMgr; } in getSourceMgr() function
/src/contrib/llvm-project/llvm/include/llvm/Support/
H A DSourceMgr.h305 const SourceMgr *getSourceMgr() const { return SM; } in getSourceMgr() function
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp898 SourceManager &SM = R.getSourceMgr(); in HandlePiece()
1208 R.InsertTextBefore(R.getSourceMgr().getLocForStartOfFile(BugFileID),
1247 SourceManager &SM = R.getSourceMgr(); in HighlightRange()
/src/contrib/llvm-project/clang/lib/Tooling/Core/
H A DReplacement.cpp69 SourceManager &SM = Rewrite.getSourceMgr(); in apply()
/src/contrib/llvm-project/clang/lib/Parse/
H A DParseStmtAsm.cpp194 const llvm::SourceMgr &LSM = *D.getSourceMgr(); in handleDiagnostic()
/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenAction.cpp407 const llvm::SourceMgr &LSM = *D.getSourceMgr(); in ConvertBackendLocation()
/src/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStub.cpp1065 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), File->Path, in DiagHandler()
/src/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp2446 const SourceMgr &DiagSrcMgr = *Diag.getSourceMgr(); in DiagHandler()
2483 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), Filename, LineNo, in DiagHandler()
H A DMasmParser.cpp2778 const SourceMgr &DiagSrcMgr = *Diag.getSourceMgr(); in DiagHandler()
2816 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), Filename, LineNo, in DiagHandler()