new smatch
@@ -133,12 +133,15 @@ } static void match_condition(struct expression *expr) { struct smatch_state *true_state = NULL; + char *name; - if (get_macro_name(expr->pos)) + name = get_macro_name(expr->pos); + if (name && + (strcmp(name, "likely") != 0 && strcmp(name, "unlikely") != 0)) return; if (!is_pointer(expr)) return;