Searched refs:rewriter_ (Results 1 – 7 of 7) sorted by relevance
/external/bcc/src/cc/frontends/clang/ |
D | b_frontend_action.cc | 258 C(C), rewriter_(rewriter), m_(m), track_helpers_(track_helpers), in ProbeVisitor() 431 rewriter_.ReplaceText(expansionLoc(E->getOperatorLoc()), 1, pre); in VisitUnaryOperator() 432 rewriter_.InsertTextAfterToken(expansionLoc(GET_ENDLOC(sub)), post); in VisitUnaryOperator() 458 if (!rewriter_.isRewritable(GET_BEGINLOC(E))) in VisitMemberExpr() 482 string rhs = rewriter_.getRewrittenText(expansionRange(SourceRange(rhs_start, GET_ENDLOC(E)))); in VisitMemberExpr() 488 rewriter_.InsertText(expansionLoc(GET_BEGINLOC(E)), pre); in VisitMemberExpr() 489 rewriter_.ReplaceText(expansionRange(SourceRange(member, GET_ENDLOC(E))), post); in VisitMemberExpr() 501 if (!rewriter_.isRewritable(GET_BEGINLOC(E))) in VisitArraySubscriptExpr() 508 if (!rewriter_.isRewritable(GET_BEGINLOC(base))) in VisitArraySubscriptExpr() 510 if (!rewriter_.isRewritable(GET_BEGINLOC(idx))) in VisitArraySubscriptExpr() [all …]
|
D | tp_frontend_action.cc | 49 : C(C), diag_(C.getDiagnostics()), rewriter_(rewriter), out_(llvm::errs()) { in TracepointTypeVisitor() 220 insert_loc = rewriter_.getSourceMgr().getFileLoc(insert_loc); in VisitFunctionDecl() 221 rewriter_.InsertText(insert_loc, tp_struct); in VisitFunctionDecl() 240 : os_(os), rewriter_(new Rewriter) { in TracepointFrontendAction() 244 rewriter_->getEditBuffer(rewriter_->getSourceMgr().getMainFileID()).write(os_); in EndSourceFileAction() 250 rewriter_->setSourceMgr(Compiler.getSourceManager(), Compiler.getLangOpts()); in CreateASTConsumer() 252 Compiler.getASTContext(), *rewriter_)); in CreateASTConsumer()
|
D | b_frontend_action.h | 86 clang::Rewriter &rewriter_; /// modifications to the source go into this class variable 119 clang::Rewriter &rewriter_; variable 165 clang::Rewriter &rewriter() const { return *rewriter_; } in rewriter() 178 std::unique_ptr<clang::Rewriter> rewriter_; variable
|
D | tp_frontend_action.h | 55 clang::Rewriter &rewriter_; variable 79 std::unique_ptr<clang::Rewriter> rewriter_; variable
|
/external/v8/src/parsing/ |
D | pattern-rewriter.cc | 44 : rewriter_(rewriter), context_(rewriter->context()) { in AssignmentElementScope() 47 ~AssignmentElementScope() { rewriter_->context_ = context_; } in ~AssignmentElementScope() 50 PatternRewriter* const rewriter_; member in v8::internal::PatternRewriter::AssignmentElementScope
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | RegAllocLinearScan.cpp | 175 std::auto_ptr<VirtRegRewriter> rewriter_; member 531 if (!rewriter_.get()) rewriter_.reset(createVirtRegRewriter()); in runOnMachineFunction() 540 rewriter_->runOnMachineFunction(*mf_, *vrm_, li_); in runOnMachineFunction()
|
/external/v8/tools/clang/rewrite_to_chrome_style/ |
D | RewriteToChromeStyle.cpp | 1324 explicit PPCallbacks(GMockMemberRewriter* rewriter) : rewriter_(rewriter) {} in PPCallbacks() 1344 rewriter_->RecordGMockMacroInvocation( in MacroExpands() 1349 GMockMemberRewriter* rewriter_; member in __anon405ffcd00111::GMockMemberRewriter::PPCallbacks
|