Searched refs:formals_ (Results 1 – 4 of 4) sorted by relevance
/external/bcc/src/cc/frontends/b/ |
D | printer.cc | 263 for (auto it = n->formals_.begin(); it != n->formals_.end(); ++it) { in visit_match_decl_stmt_node() 265 if (it + 1 != n->formals_.end()) { in visit_match_decl_stmt_node() 278 for (auto it = n->formals_.begin(); it != n->formals_.end(); ++it) { in visit_miss_decl_stmt_node() 280 if (it + 1 != n->formals_.end()) { in visit_miss_decl_stmt_node() 293 for (auto it = n->formals_.begin(); it != n->formals_.end(); ++it) { in visit_failure_decl_stmt_node() 295 if (it + 1 != n->formals_.end()) { in visit_failure_decl_stmt_node() 323 for (auto it = n->formals_.begin(); it != n->formals_.end(); ++it) { in visit_func_decl_stmt_node() 325 if (it + 1 != n->formals_.end()) { in visit_func_decl_stmt_node()
|
D | node.h | 555 FormalList formals_; variable 558 : id_(move(id)), formals_(move(formals)), block_(move(block)) {} in MatchDeclStmtNode() 566 FormalList formals_; variable 569 : id_(move(id)), formals_(move(formals)), block_(move(block)) {} in MissDeclStmtNode() 577 FormalList formals_; variable 580 : id_(move(id)), formals_(move(formals)), block_(move(block)) {} in FailureDeclStmtNode() 610 FormalList formals_; variable 614 : id_(move(id)), formals_(move(formals)), block_(move(block)), scope_(NULL) {} in FuncDeclStmtNode()
|
D | type_check.cc | 487 for (auto it = n->formals_.begin(); it != n->formals_.end(); ++it) { in visit_match_decl_stmt_node() 496 for (auto it = n->formals_.begin(); it != n->formals_.end(); ++it) { in visit_miss_decl_stmt_node() 505 for (auto it = n->formals_.begin(); it != n->formals_.end(); ++it) { in visit_failure_decl_stmt_node() 531 for (auto it = n->formals_.begin(); it != n->formals_.end(); ++it) { in visit_func_decl_stmt_node()
|
D | codegen_llvm.cc | 888 if (n->formals_.size() != 1) in visit_match_decl_stmt_node() 889 return mkstatus_(n, "on_match expected 1 arguments, %zu given", n->formals_.size()); in visit_match_decl_stmt_node() 890 …StructVariableDeclStmtNode* leaf_n = static_cast<StructVariableDeclStmtNode*>(n->formals_.at(0).ge… in visit_match_decl_stmt_node() 921 if (n->formals_.size() != 0) in visit_miss_decl_stmt_node() 922 return mkstatus_(n, "on_match expected 0 arguments, %zu given", n->formals_.size()); in visit_miss_decl_stmt_node() 1154 if (n->formals_.size() != 1) in visit_func_decl_stmt_node() 1155 return mkstatus_(n, "Functions must have exactly 1 argument, %zd given", n->formals_.size()); in visit_func_decl_stmt_node() 1158 for (auto it = n->formals_.begin(); it != n->formals_.end(); ++it) { in visit_func_decl_stmt_node() 1190 auto formal = n->formals_.begin(); in visit_func_decl_stmt_node()
|