[patch,avr,applied] Use more C++ ish coding style.

Georg-Johann Lay avr@gjlay.de
Sun Mar 3 19:42:22 GMT 2024


This is a no-op patch that uses some more C++ / C99
features if possible.

Johann

--

AVR: Use more C++ ish coding style.

gcc/
         * config/avr/avr.cc: Resolve ATTRIBUTE_UNUSED.
         Use bool in place of int for boolean logic (if possible).
         Move declarations to definitions (if possible).
         * config/avr/avr.md: Use C++ comments.  Fix some indentation 
glitches.
         * config/avr/avr-dimode.md: Same.
         * config/avr/constraints.md: Same.
         * config/avr/predicates.md: Same.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coding.diff
Type: text/x-patch
Size: 58419 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20240303/5542a9af/attachment-0001.bin>


More information about the Gcc-patches mailing list