[cfe-dev] Handling ignored calling conventions

Anton Korobeynikov anton at korobeynikov.info
Thu Sep 13 01:29:06 PDT 2012


> If we want to turn illegal calling conventions into
> error/warning/acceptable, then I could use an enum for the return
> value of this call in TargetInfo instead of a boolean.  This would
> provide more flexibility for the various targets to decide what to do
> for a given calling convention.
Right now Sema has all the abilities to process attributes on per-target basis.
This this how dllimport / dllexport attributes are handled, for example.

I feel this is the proper place to handle target specific stuff like
calling convention.

With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University

More information about the cfe-dev mailing list