On Thu, Nov 05, 2015 at 11:19:36AM +0000, Richard Earnshaw wrote: > > It depends, if the argument is conditionally (based on preprocessor macros) > > used, then we need the first form. > > If it is completely unused, I also prefer the last form, but there are cases > > where one wants to document the purpose of the unused argument or something > > similar and in that case the third one is useful. > > Except, of course, that we're moving away from conditionally compiled > code, so we should never need the first (or second) forms.
It will take time, there are still many target macros with arguments, some of which are not used on all targets, and converting some of those macros to hooks might be performance problem. Jakub