Home
last modified time | relevance | path

Searched refs:STMT_COMPOUND (Results 1 – 22 of 22) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_no_if_block.c28 if (stmt->if_true->type == STMT_COMPOUND) in match_if_stmt()
43 if (stmt->iterator_statement->type == STMT_COMPOUND) in match_for_stmt()
H A Dinline.c197 struct statement *stmt = alloc_statement(expr->pos, STMT_COMPOUND); in copy_expression()
362 case STMT_COMPOUND: { in copy_one_statement()
363 struct statement *new = alloc_statement(stmt->pos, STMT_COMPOUND); in copy_one_statement()
512 struct statement *stmt = alloc_statement(expr->pos, STMT_COMPOUND); in inline_function()
579 fn->stmt = alloc_statement(fn->pos, STMT_COMPOUND); in uninline()
H A Dcheck_indenting.c48 if (__prev_stmt->if_true->type == STMT_COMPOUND) in missing_curly_braces()
54 if (__prev_stmt->iterator_statement->type == STMT_COMPOUND) in missing_curly_braces()
H A Dcheck_unreachable.c45 if (!stmt || stmt->type != STMT_COMPOUND) in is_last_stmt()
155 case STMT_COMPOUND: /* after a switch before a case stmt */ in unreachable_stmt()
H A Dast-inspect.c28 [STMT_COMPOUND] = "STMT_COMPOUND", in statement_type_name()
48 case STMT_COMPOUND: in inspect_statement()
H A Dsmatch_scope.c87 if (stmt->type == STMT_COMPOUND) in match_stmt()
H A Dsmatch_flow.c201 if (sym->stmt && sym->stmt->type == STMT_COMPOUND) { in inlinable()
204 if (sym->stmt->type != STMT_COMPOUND) in inlinable()
208 if (sym->inline_stmt && sym->inline_stmt->type == STMT_COMPOUND) { in inlinable()
211 if (sym->inline_stmt->type != STMT_COMPOUND) in inlinable()
902 if (!stmt || stmt->type != STMT_COMPOUND) in is_last_stmt()
937 if (func_stmt->type != STMT_COMPOUND) in handle_backward_goto()
1032 if (stmt && stmt->type == STMT_COMPOUND) in need_delayed_scope_hooks()
1106 case STMT_COMPOUND: in __split_stmt()
H A Dparse.h34 STMT_COMPOUND, enumerator
H A Dsmatch_helper.c710 if (expr->unop->statement->type != STMT_COMPOUND) in get_expression_statement()
725 expr->unop->statement->type == STMT_COMPOUND) in strip_parens()
757 expr->unop->statement->type == STMT_COMPOUND) in strip_expr_helper()
1047 if (stmt->type == STMT_COMPOUND) { in get_last_expr_from_expression_stmt()
H A Dsmatch_conditions.c717 if (stmt->type == STMT_COMPOUND) { in __handle_expr_statement_assigns()
H A Ddissect.c488 break; case STMT_COMPOUND: { in do_statement()
H A Dsmatch_type.c199 if (stmt->type != STMT_COMPOUND) in get_expr_stmt_type()
H A Dexpression.c71 struct statement *stmt = alloc_statement(token->pos, STMT_COMPOUND); in parens_expression()
H A Dshow-parse.c590 case STMT_COMPOUND: { in show_statement()
H A Dparse.c2239 struct statement *stmt = alloc_statement(sym->pos, STMT_COMPOUND); in start_function()
2409 if (iterator && iterator->type != STMT_COMPOUND && Wdo_while) in parse_do_statement()
2543 stmt->type = STMT_COMPOUND; in statement()
H A Dexpand.c1224 case STMT_COMPOUND: in expand_statement()
H A Dcompile-i386.c2003 case STMT_COMPOUND: { in x86_statement()
H A Dsmatch_db.c2087 if (!stmt || stmt->type != STMT_COMPOUND) in strip_expr_statement()
H A Dsmatch_extra.c1447 if (stmt->type == STMT_COMPOUND) in handle_postop_inc()
H A Dlinearize.c2404 case STMT_COMPOUND: in linearize_statement()
H A Devaluate.c3694 case STMT_COMPOUND: { in evaluate_statement()
/illumos-gate/usr/src/tools/smatch/src/Documentation/
H A Ddata-structures.txt9 A series of statements forms a compound statement (STMT_COMPOUND).