Ignore:
Timestamp:
Dec 12, 2024, 4:35:32 PM (6 days ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
8ee211d
Parents:
f979f0ba
Message:

Mitigate several unused-declaration warnings in generated code.

See tests/nowarn/unused for the specific cases.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/.expect/KRfunctions.x64.txt

    rf979f0ba r35cc6d4  
    1111    signed int _X1ii_1;
    1212};
    13 static inline void _X12_constructorFv_S1S_autogen___1(struct S *_X4_dstS1S_1){
     13static inline void _X12_constructorFv_S1S_autogen___1(__attribute__ ((unused)) struct S *_X4_dstS1S_1){
    1414    {
    1515        ((void)((*_X4_dstS1S_1)._X1ii_1) /* ?{} */);
     
    1717
    1818}
    19 static inline void _X12_constructorFv_S1SS1S_autogen___1(struct S *_X4_dstS1S_1, struct S _X4_srcS1S_1){
     19static inline void _X12_constructorFv_S1SS1S_autogen___1(__attribute__ ((unused)) struct S *_X4_dstS1S_1, __attribute__ ((unused)) struct S _X4_srcS1S_1){
    2020    {
    2121        ((void)((*_X4_dstS1S_1)._X1ii_1=_X4_srcS1S_1._X1ii_1) /* ?{} */);
     
    2323
    2424}
    25 static inline void _X11_destructorFv_S1S_autogen___1(struct S *_X4_dstS1S_1){
     25static inline void _X11_destructorFv_S1S_autogen___1(__attribute__ ((unused)) struct S *_X4_dstS1S_1){
    2626    {
    2727        ((void)((*_X4_dstS1S_1)._X1ii_1) /* ^?{} */);
     
    2929
    3030}
    31 static inline struct S _X16_operator_assignFS1S_S1SS1S_autogen___1(struct S *_X4_dstS1S_1, struct S _X4_srcS1S_1){
    32     struct S _X4_retS1S_1;
     31static inline struct S _X16_operator_assignFS1S_S1SS1S_autogen___1(__attribute__ ((unused)) struct S *_X4_dstS1S_1, __attribute__ ((unused)) struct S _X4_srcS1S_1){
     32    __attribute__ ((unused)) struct S _X4_retS1S_1;
    3333    {
    3434        ((void)((*_X4_dstS1S_1)._X1ii_1=_X4_srcS1S_1._X1ii_1));
     
    4141    return _X4_retS1S_1;
    4242}
    43 static inline void _X12_constructorFv_S1Si_autogen___1(struct S *_X4_dstS1S_1, signed int _X1ii_1){
     43static inline void _X12_constructorFv_S1Si_autogen___1(__attribute__ ((unused)) struct S *_X4_dstS1S_1, signed int _X1ii_1){
    4444    {
    4545        ((void)((*_X4_dstS1S_1)._X1ii_1=_X1ii_1) /* ?{} */);
Note: See TracChangeset for help on using the changeset viewer.