Print this page
11972 resync smatch

*** 64,78 **** } static void match_condition(struct expression *expr) { struct sm_state *sm; if (__in_pre_condition) return; ! if (get_macro_name(expr->pos)) return; if (!is_pointer(expr)) return; --- 64,81 ---- } static void match_condition(struct expression *expr) { struct sm_state *sm; + char *name; if (__in_pre_condition) return; ! name = get_macro_name(expr->pos); ! if (name && ! (strcmp(name, "likely") != 0 && strcmp(name, "unlikely") != 0)) return; if (!is_pointer(expr)) return;