Print this page
11972 resync smatch
*** 133,144 ****
}
static void match_condition(struct expression *expr)
{
struct smatch_state *true_state = NULL;
! if (get_macro_name(expr->pos))
return;
if (!is_pointer(expr))
return;
--- 133,147 ----
}
static void match_condition(struct expression *expr)
{
struct smatch_state *true_state = NULL;
+ char *name;
! name = get_macro_name(expr->pos);
! if (name &&
! (strcmp(name, "likely") != 0 && strcmp(name, "unlikely") != 0))
return;
if (!is_pointer(expr))
return;