| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | HTMLPrint.cpp | 64 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 D | FixItRewriter.cpp | 96 const FileEntry *Entry = Rewrite.getSourceMgr().getFileEntryForID(I->first); in WriteFixedFiles()
|
| /llvm-project-15.0.7/clang/lib/Tooling/ |
| H A D | Refactoring.cpp | 60 Rewrite.getSourceMgr().getFileManager(), FileToReplaces)) in applyAllReplacements() 72 SourceManager &SM = Rewrite.getSourceMgr(); in formatAndApplyAllReplacements() 77 Rewrite.getSourceMgr().getFileManager(), FileToReplaces)) { in formatAndApplyAllReplacements()
|
| /llvm-project-15.0.7/lldb/tools/lldb-instr/ |
| H A D | Instrument.cpp | 60 MyRewriter.getSourceMgr().getExpansionRange(C->getSourceRange()); in VisitCXXMethodDecl() 65 Body->getBeginLoc(), 0, MyRewriter.getSourceMgr(), in VisitCXXMethodDecl() 87 if (!MyRewriter.getSourceMgr().isInMainFile(Decl->getBeginLoc())) in ShouldSkip()
|
| /llvm-project-15.0.7/clang/lib/Rewrite/ |
| H A D | HTMLRewrite.cpp | 34 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 D | Rewriter.cpp | 470 getSourceMgr().getFileEntryForID(I->first); in overwriteChangedFiles() 471 AtomicallyMovedFile File(getSourceMgr().getDiagnostics(), Entry->getName(), in overwriteChangedFiles()
|
| /llvm-project-15.0.7/mlir/lib/AsmParser/ |
| H A D | Lexer.h | 28 const llvm::SourceMgr &getSourceMgr() { return sourceMgr; } in getSourceMgr() function
|
| H A D | Parser.h | 37 const llvm::SourceMgr &getSourceMgr() { return state.lex.getSourceMgr(); } in getSourceMgr() function
|
| H A D | Lexer.cpp | 45 auto &sourceMgr = getSourceMgr(); in getEncodedSourceLocation()
|
| H A D | DialectSymbolParser.cpp | 315 const_cast<llvm::SourceMgr &>(parser.getSourceMgr()), in parseSymbol()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | Rewrite.cpp | 57 R.getEditBuffer(R.getSourceMgr().getMainFileID()).write(llvm::outs()); in clang_CXRewriter_writeMainFileToStdOut()
|
| /llvm-project-15.0.7/llvm/tools/llvm-mca/ |
| H A D | CodeRegion.h | 112 llvm::SourceMgr &getSourceMgr() const { return SM; } in getSourceMgr() function
|
| H A D | CodeRegionGenerator.cpp | 128 createMCAsmParser(Regions.getSourceMgr(), Ctx, Str, MAI)); in parseCodeRegions()
|
| /llvm-project-15.0.7/clang/include/clang/Rewrite/Core/ |
| H A D | Rewriter.h | 77 SourceManager &getSourceMgr() const { return *SourceMgr; } in getSourceMgr() function
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/ |
| H A D | Lexer.h | 173 llvm::SourceMgr &getSourceMgr() { return srcMgr; } in getSourceMgr() function
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | SourceMgr.h | 305 const SourceMgr *getSourceMgr() const { return SM; } in getSourceMgr() function
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | HTMLDiagnostics.cpp | 887 SourceManager &SM = R.getSourceMgr(); in HandlePiece() 1197 R.InsertTextBefore(R.getSourceMgr().getLocForStartOfFile(BugFileID), 1236 SourceManager &SM = R.getSourceMgr(); in HighlightRange()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Diagnostics.cpp | 448 Result.InsideMainFile = D.getSourceMgr()->FindBufferContainingLoc( in toDiag() 449 D.getLoc()) == D.getSourceMgr()->getMainFileID(); in toDiag()
|
| /llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/ |
| H A D | ClangTidyOptionsTest.cpp | 158 Pos(posToOffset(D.getLoc(), D.getSourceMgr())) { in Diag()
|
| /llvm-project-15.0.7/mlir/lib/Tools/tblgen-lsp-server/ |
| H A D | TableGenServer.cpp | 59 auto *sourceMgr = const_cast<llvm::SourceMgr *>(diag.getSourceMgr()); in getLspDiagnoticFromDiag()
|
| /llvm-project-15.0.7/clang/lib/Tooling/Core/ |
| H A D | Replacement.cpp | 69 SourceManager &SM = Rewrite.getSourceMgr(); in apply()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseStmtAsm.cpp | 194 const llvm::SourceMgr &LSM = *D.getSourceMgr(); in handleDiagnostic()
|
| /llvm-project-15.0.7/llvm/lib/TextAPI/ |
| H A D | TextStub.cpp | 1099 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), File->Path, in DiagHandler()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenAction.cpp | 474 const llvm::SourceMgr &LSM = *D.getSourceMgr(); in ConvertBackendLocation()
|
| /llvm-project-15.0.7/llvm/lib/MC/MCParser/ |
| H A D | AsmParser.cpp | 2451 const SourceMgr &DiagSrcMgr = *Diag.getSourceMgr(); in DiagHandler() 2488 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), Filename, LineNo, in DiagHandler()
|