Re: [RFA 1/3] Use function_name_style to print Ada and C function names

Tom Tromey
2019-01-12T16:22:29Z

>>>>> "Philippe" == Philippe Waroquiers <philippe.waroquiers@skynet.be> writes:

Philippe> * ada-typeprint.c (print_func_type): Print function name
Philippe> style to print function name.
Philippe> * c-typeprint.c (c_print_type_1): Likewise.

These are printing type names, not function names -- so I wonder whether
we want to apply the function name styling here.

Any comments on this aspect? I am not sure myself.

On the one hand, it isn't a function name; maybe we would like a type
style, but then maybe a type style would be too noisy somehow?

On the other hand, maybe calling out function type names looks nicer.

Philippe> + fputs_styled (varstring, function_name_style.style (), stream );

Extra space before the close paren.

Tom