Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/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.cpp470 getSourceMgr().getFileEntryForID(I->first); in overwriteChangedFiles()
471 AtomicallyMovedFile File(getSourceMgr().getDiagnostics(), Entry->getName(), in overwriteChangedFiles()
/openbsd/gnu/llvm/clang/tools/libclang/
H A DRewrite.cpp57 R.getEditBuffer(R.getSourceMgr().getMainFileID()).write(llvm::outs()); in clang_CXRewriter_writeMainFileToStdOut()
/openbsd/gnu/llvm/clang/include/clang/Rewrite/Core/
H A DRewriter.h77 SourceManager &getSourceMgr() const { return *SourceMgr; } in getSourceMgr() function
/openbsd/gnu/llvm/llvm/tools/llvm-mca/
H A DCodeRegion.h155 llvm::SourceMgr &getSourceMgr() const { return SM; } in getSourceMgr() function
H A DCodeRegionGenerator.cpp85 createMCAsmParser(Regions.getSourceMgr(), Ctx, Str, MAI)); in parseCodeRegions()
/openbsd/gnu/llvm/llvm/include/llvm/Support/
H A DSourceMgr.h305 const SourceMgr *getSourceMgr() const { return SM; } in getSourceMgr() function
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp887 SourceManager &SM = R.getSourceMgr(); in HandlePiece()
1197 R.InsertTextBefore(R.getSourceMgr().getLocForStartOfFile(BugFileID),
1236 SourceManager &SM = R.getSourceMgr(); in HighlightRange()
/openbsd/gnu/llvm/clang/lib/Tooling/Core/
H A DReplacement.cpp69 SourceManager &SM = Rewrite.getSourceMgr(); in apply()
/openbsd/gnu/llvm/clang/lib/Parse/
H A DParseStmtAsm.cpp194 const llvm::SourceMgr &LSM = *D.getSourceMgr(); in handleDiagnostic()
/openbsd/gnu/llvm/llvm/lib/TextAPI/
H A DTextStub.cpp1099 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), File->Path, in DiagHandler()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenAction.cpp481 const llvm::SourceMgr &LSM = *D.getSourceMgr(); in ConvertBackendLocation()
/openbsd/gnu/llvm/llvm/lib/MC/MCParser/
H A DAsmParser.cpp2452 const SourceMgr &DiagSrcMgr = *Diag.getSourceMgr(); in DiagHandler()
2489 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), Filename, LineNo, in DiagHandler()
H A DMasmParser.cpp2809 const SourceMgr &DiagSrcMgr = *Diag.getSourceMgr(); in DiagHandler()
2847 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), Filename, LineNo, in DiagHandler()