Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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.cpp469 getSourceMgr().getFileEntryForID(I->first); in overwriteChangedFiles()
470 AtomicallyMovedFile File(getSourceMgr().getDiagnostics(), Entry->getName(), in overwriteChangedFiles()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DRewrite.cpp57 R.getEditBuffer(R.getSourceMgr().getMainFileID()).write(llvm::outs()); in clang_CXRewriter_writeMainFileToStdOut()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-mca/
H A DCodeRegion.h112 llvm::SourceMgr &getSourceMgr() const { return SM; } in getSourceMgr() function
H A DCodeRegionGenerator.cpp127 createMCAsmParser(Regions.getSourceMgr(), Ctx, Str, MAI)); in parseCodeRegions()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Rewrite/Core/
H A DRewriter.h77 SourceManager &getSourceMgr() const { return *SourceMgr; } in getSourceMgr() function
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DSourceMgr.h275 const SourceMgr *getSourceMgr() const { return SM; } in getSourceMgr() function
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp804 SourceManager &SM = R.getSourceMgr(); in HandlePiece()
1056 SourceManager &SM = R.getSourceMgr(); in HighlightRange()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Core/
H A DReplacement.cpp69 SourceManager &SM = Rewrite.getSourceMgr(); in apply()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseStmtAsm.cpp194 const llvm::SourceMgr &LSM = *D.getSourceMgr(); in handleDiagnostic()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenAction.cpp421 const llvm::SourceMgr &LSM = *D.getSourceMgr(); in ConvertBackendLocation()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/TextAPI/
H A DTextStub.cpp1100 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), File->Path, in DiagHandler()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
H A DAsmParser.cpp2430 const SourceMgr &DiagSrcMgr = *Diag.getSourceMgr(); in DiagHandler()
2467 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), Filename, LineNo, in DiagHandler()
H A DMasmParser.cpp2676 const SourceMgr &DiagSrcMgr = *Diag.getSourceMgr(); in DiagHandler()
2714 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), Filename, LineNo, in DiagHandler()