Searched refs:mkstatus_ (Results 1 – 3 of 3) sorted by relevance
/external/bcc/src/cc/frontends/b/ |
D | type_check.cc | 58 return mkstatus_(n, "on_valid condition must be a reference type"); in visit_onvalid_stmt_node() 69 return mkstatus_(n, "Switch condition must be a numeric type"); in visit_switch_stmt_node() 81 return mkstatus_(n, "Switch condition must be a numeric type"); in visit_case_stmt_node() 90 return mkstatus_(n, "Variable %s lookup failed", n->c_str()); in visit_ident_expr_node() 108 … return mkstatus_(n, "Type %s has not been declared", sdecl->struct_id_->full_name().c_str()); in visit_ident_expr_node() 113 return mkstatus_(n, "Subfield access not valid for numeric types"); in visit_ident_expr_node() 122 return mkstatus_(n, "Type %s has not been declared", sdecl->struct_id_->full_name().c_str()); in visit_ident_expr_node() 126 return mkstatus_(n, "Access to invalid subfield %s.%s", n->c_str(), n->sub_name_.c_str()); in visit_ident_expr_node() 128 return mkstatus_(n, "Accessing non-numeric subfield %s.%s", n->c_str(), n->sub_name_.c_str()); in visit_ident_expr_node() 143 return mkstatus_(n, "Right-hand side of assignment must be a struct"); in visit_assign_expr_node() [all …]
|
D | codegen_llvm.cc | 220 if (!cur_switch_) return mkstatus_(n, "no valid switch instruction"); in visit_case_stmt_node() 244 return mkstatus_(n, "variable lookup failed: %s", n->name_.c_str()); in visit_ident_expr_node() 255 return mkstatus_(n, "unsupported"); in visit_ident_expr_node() 265 return mkstatus_(n, "unsupported"); in visit_ident_expr_node() 269 …if (it == vars_.end()) return mkstatus_(n, "Cannot locate variable %s in vars_ table", n->c_str()); in visit_ident_expr_node() 279 …if (it == vars_.end()) return mkstatus_(n, "Cannot locate variable %s in vars_ table", n->c_str()); in visit_ident_expr_node() 286 …if (it == vars_.end()) return mkstatus_(n, "Cannot locate variable %s in vars_ table", n->c_str()); in visit_ident_expr_node() 295 return mkstatus_(n, "illegal: ident %s is a left-hand-side type", n->name_.c_str()); in visit_ident_expr_node() 297 return mkstatus_(n, "illegal: can only take bitop of a struct subfield"); in visit_ident_expr_node() 303 …if (it == vars_.end()) return mkstatus_(n, "Cannot locate variable %s in vars_ table", n->c_str()); in visit_ident_expr_node() [all …]
|
D | node.h | 117 StatusTuple mkstatus_(Node *n, const char *fmt, Args... args) { in mkstatus_() function 124 static inline StatusTuple mkstatus_(Node *n, const char *msg) { in mkstatus_() function
|