Home
last modified time | relevance | path

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

12

/external/clang/lib/Frontend/Rewrite/
DHTMLPrint.cpp67 FileID FID = R.getSourceMgr().getMainFileID(); in HandleTranslationUnit()
68 const FileEntry* Entry = R.getSourceMgr().getFileEntryForID(FID); in HandleTranslationUnit()
76 Name = R.getSourceMgr().getBuffer(FID)->getBufferIdentifier(); in HandleTranslationUnit()
DFixItRewriter.cpp92 const FileEntry *Entry = Rewrite.getSourceMgr().getFileEntryForID(I->first); in WriteFixedFiles()
/external/llvm-project/clang/lib/Frontend/Rewrite/
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()
DFixItRewriter.cpp96 const FileEntry *Entry = Rewrite.getSourceMgr().getFileEntryForID(I->first); in WriteFixedFiles()
/external/llvm-project/clang/lib/Tooling/
DRefactoring.cpp60 Rewrite.getSourceMgr().getFileManager(), FileToReplaces)) in applyAllReplacements()
72 SourceManager &SM = Rewrite.getSourceMgr(); in formatAndApplyAllReplacements()
77 Rewrite.getSourceMgr().getFileManager(), FileToReplaces)) { in formatAndApplyAllReplacements()
/external/bcc/src/cc/frontends/clang/
Db_frontend_action.cc534 rewriter_.getSourceMgr(), in VisitArraySubscriptExpr()
598 return rewriter_.getSourceMgr().getExpansionRange(range).getAsRange(); in expansionRange()
600 return rewriter_.getSourceMgr().getExpansionRange(range); in expansionRange()
606 return rewriter_.getSourceMgr().getExpansionLoc(loc); in expansionLoc()
697 auto real_start_loc = rewriter_.getSourceMgr().getFileLoc(GET_BEGINLOC(D)); in VisitFunctionDecl()
722 rewriter_.getSourceMgr().getFileID(real_start_loc) in VisitFunctionDecl()
723 == rewriter_.getSourceMgr().getMainFileID()) { in VisitFunctionDecl()
947 auto start_loc = rewriter_.getSourceMgr().getFileLoc(GET_BEGINLOC(Decl)); in VisitCallExpr()
948 if (rewriter_.getSourceMgr().getFileID(start_loc) in VisitCallExpr()
949 == rewriter_.getSourceMgr().getMainFileID()) { in VisitCallExpr()
[all …]
Dtp_frontend_action.cc220 insert_loc = rewriter_.getSourceMgr().getFileLoc(insert_loc); in VisitFunctionDecl()
244 rewriter_->getEditBuffer(rewriter_->getSourceMgr().getMainFileID()).write(os_); in EndSourceFileAction()
/external/clang/lib/Rewrite/
DHTMLRewrite.cpp34 SourceManager &SM = R.getSourceMgr(); in HighlightRange()
44 EOffset += Lexer::MeasureTokenLength(E, R.getSourceMgr(), R.getLangOpts()); in HighlightRange()
109 const llvm::MemoryBuffer *Buf = R.getSourceMgr().getBuffer(FID); in EscapeText()
228 const llvm::MemoryBuffer *Buf = R.getSourceMgr().getBuffer(FID); in AddLineNumbers()
273 const llvm::MemoryBuffer *Buf = R.getSourceMgr().getBuffer(FID); in AddHeaderFooterInternalBuiltinCSS()
277 SourceLocation StartLoc = R.getSourceMgr().getLocForStartOfFile(FID); in AddHeaderFooterInternalBuiltinCSS()
DRewriter.cpp450 getSourceMgr().getFileEntryForID(I->first); in overwriteChangedFiles()
451 AtomicallyMovedFile File(getSourceMgr().getDiagnostics(), Entry->getName(), in overwriteChangedFiles()
/external/llvm-project/clang/lib/Rewrite/
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()
DRewriter.cpp469 getSourceMgr().getFileEntryForID(I->first); in overwriteChangedFiles()
470 AtomicallyMovedFile File(getSourceMgr().getDiagnostics(), Entry->getName(), in overwriteChangedFiles()
/external/llvm-project/lldb/tools/lldb-instr/
DInstrument.cpp148 CharSourceRange::getTokenRange(R), MyRewriter.getSourceMgr(), in VisitReturnStmt()
241 Body->getBeginLoc(), 0, MyRewriter.getSourceMgr(), in VisitCXXMethodDecl()
269 if (!MyRewriter.getSourceMgr().isInMainFile(Decl->getBeginLoc())) in ShouldSkip()
/external/llvm-project/mlir/lib/Parser/
DParser.h34 const llvm::SourceMgr &getSourceMgr() { return state.lex.getSourceMgr(); } in getSourceMgr() function
DLexer.h27 const llvm::SourceMgr &getSourceMgr() { return sourceMgr; } in getSourceMgr() function
/external/llvm-project/clang/tools/libclang/
DRewrite.cpp57 R.getEditBuffer(R.getSourceMgr().getMainFileID()).write(llvm::outs()); in clang_CXRewriter_writeMainFileToStdOut()
/external/clang/lib/Tooling/
DRefactoring.cpp67 SourceManager &SM = Rewrite.getSourceMgr(); in formatAndApplyAllReplacements()
/external/llvm-project/llvm/tools/llvm-mca/
DCodeRegion.h112 llvm::SourceMgr &getSourceMgr() const { return SM; } in getSourceMgr() function
DCodeRegionGenerator.cpp117 createMCAsmParser(Regions.getSourceMgr(), Ctx, Str, MAI)); in parseCodeRegions()
/external/clang/include/clang/Rewrite/Core/
DRewriter.h64 SourceManager &getSourceMgr() const { return *SourceMgr; } in getSourceMgr() function
/external/llvm-project/clang/include/clang/Rewrite/Core/
DRewriter.h77 SourceManager &getSourceMgr() const { return *SourceMgr; } in getSourceMgr() function
/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp358 SourceManager &SM = R.getSourceMgr(); in HandlePiece()
602 SourceManager &SM = R.getSourceMgr(); in HighlightRange()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DSourceMgr.h254 const SourceMgr *getSourceMgr() const { return SM; } in getSourceMgr() function
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DSourceMgr.h286 const SourceMgr *getSourceMgr() const { return SM; } in getSourceMgr() function
/external/llvm/include/llvm/Support/
DSourceMgr.h259 const SourceMgr *getSourceMgr() const { return SM; } in getSourceMgr() function
/external/llvm-project/llvm/include/llvm/Support/
DSourceMgr.h275 const SourceMgr *getSourceMgr() const { return SM; } in getSourceMgr() function

12