Plugin to print a GCC type (e.g. C++-friendly way)

Basile Starynkevitch basile@starynkevitch.net
Thu Mar 27 18:31:49 GMT 2025


Hello all,

Is there any GCC-14 or GCC-15 plugin which prints with a pragma the (expanded
C++ type) of something (e.g. C++ template argument or auto variable).

We do have typeof but I miss a #pragma GCC print-type (typeexpression)

Thanks
-- 
Basile STARYNKEVITCH                            <basile@starynkevitch.net>
8 rue de la Faïencerie                       http://starynkevitch.net/Basile/  
92340 Bourg-la-Reine                         https://github.com/bstarynk
France                                https://github.com/RefPerSys/RefPerSys


More information about the Gcc-help mailing list