/external/clang/lib/Frontend/Rewrite/ |
D | HTMLPrint.cpp | 67 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()
|
D | FixItRewriter.cpp | 92 const FileEntry *Entry = Rewrite.getSourceMgr().getFileEntryForID(I->first); in WriteFixedFiles()
|
/external/llvm-project/clang/lib/Frontend/Rewrite/ |
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()
|
D | FixItRewriter.cpp | 96 const FileEntry *Entry = Rewrite.getSourceMgr().getFileEntryForID(I->first); in WriteFixedFiles()
|
/external/llvm-project/clang/lib/Tooling/ |
D | Refactoring.cpp | 60 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/ |
D | b_frontend_action.cc | 534 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 …]
|
D | tp_frontend_action.cc | 220 insert_loc = rewriter_.getSourceMgr().getFileLoc(insert_loc); in VisitFunctionDecl() 244 rewriter_->getEditBuffer(rewriter_->getSourceMgr().getMainFileID()).write(os_); in EndSourceFileAction()
|
/external/clang/lib/Rewrite/ |
D | HTMLRewrite.cpp | 34 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()
|
D | Rewriter.cpp | 450 getSourceMgr().getFileEntryForID(I->first); in overwriteChangedFiles() 451 AtomicallyMovedFile File(getSourceMgr().getDiagnostics(), Entry->getName(), in overwriteChangedFiles()
|
/external/llvm-project/clang/lib/Rewrite/ |
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()
|
D | Rewriter.cpp | 469 getSourceMgr().getFileEntryForID(I->first); in overwriteChangedFiles() 470 AtomicallyMovedFile File(getSourceMgr().getDiagnostics(), Entry->getName(), in overwriteChangedFiles()
|
/external/llvm-project/lldb/tools/lldb-instr/ |
D | Instrument.cpp | 148 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/ |
D | Parser.h | 34 const llvm::SourceMgr &getSourceMgr() { return state.lex.getSourceMgr(); } in getSourceMgr() function
|
D | Lexer.h | 27 const llvm::SourceMgr &getSourceMgr() { return sourceMgr; } in getSourceMgr() function
|
/external/llvm-project/clang/tools/libclang/ |
D | Rewrite.cpp | 57 R.getEditBuffer(R.getSourceMgr().getMainFileID()).write(llvm::outs()); in clang_CXRewriter_writeMainFileToStdOut()
|
/external/clang/lib/Tooling/ |
D | Refactoring.cpp | 67 SourceManager &SM = Rewrite.getSourceMgr(); in formatAndApplyAllReplacements()
|
/external/llvm-project/llvm/tools/llvm-mca/ |
D | CodeRegion.h | 112 llvm::SourceMgr &getSourceMgr() const { return SM; } in getSourceMgr() function
|
D | CodeRegionGenerator.cpp | 117 createMCAsmParser(Regions.getSourceMgr(), Ctx, Str, MAI)); in parseCodeRegions()
|
/external/clang/include/clang/Rewrite/Core/ |
D | Rewriter.h | 64 SourceManager &getSourceMgr() const { return *SourceMgr; } in getSourceMgr() function
|
/external/llvm-project/clang/include/clang/Rewrite/Core/ |
D | Rewriter.h | 77 SourceManager &getSourceMgr() const { return *SourceMgr; } in getSourceMgr() function
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | HTMLDiagnostics.cpp | 358 SourceManager &SM = R.getSourceMgr(); in HandlePiece() 602 SourceManager &SM = R.getSourceMgr(); in HighlightRange()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | SourceMgr.h | 254 const SourceMgr *getSourceMgr() const { return SM; } in getSourceMgr() function
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | SourceMgr.h | 286 const SourceMgr *getSourceMgr() const { return SM; } in getSourceMgr() function
|
/external/llvm/include/llvm/Support/ |
D | SourceMgr.h | 259 const SourceMgr *getSourceMgr() const { return SM; } in getSourceMgr() function
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | SourceMgr.h | 275 const SourceMgr *getSourceMgr() const { return SM; } in getSourceMgr() function
|