Hi all,

Is it possible to add a UDA onto either the function call, and detect its present? or onto the variable that the result will go to?

E.g.
auto int x = function() @UDA;

    int function() {
      if (hasUDA(call_site)) { ... }
    }

or

@UDA int y = function();

    int function() {
      if (hasUDA(RESULT)) { ... }
    }

Kind regards,
Mike Brown

Reply via email to