On Mon, Mar 20, 2017 at 9:28 AM, Marek Polacek <pola...@redhat.com> wrote:
>  #define DEF_SANITIZER_BUILTIN(ENUM, NAME, TYPE, ATTRS) \
> +  do {                                                                 \
> +    decl = add_builtin_function ("__builtin_" NAME, TYPE, ENUM,              
>   \
> +                                BUILT_IN_NORMAL, NAME, NULL_TREE);     \
> +    set_call_expr_flags (decl, ATTRS);                                 \
> +    set_builtin_decl (ENUM, decl, true);                               \
> +  } while (0);

We leave out the trailing ; in a macro like this.

Jason

Reply via email to