Ignore:
Timestamp:
Dec 11, 2024, 7:32:08 PM (7 days ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
36dfdac
Parents:
e797179
Message:

Remove autogen forward declarations, which are never needed, and cause warnings about static declarations without definitions.

Intended to fix the failing test from previous commit.

Autogen forward declarations are never needed because they do not depend on each other, much less with mutual recursion.

Consequences:

  • tests/.expect/(5 tests).(3 archs).txt: Accept generated code that lacks autogen forward declarations
  • libcfa/src/concurrency/thread.*: Remove unused dependency on destructor from constructor (via thrd_start), by splitting trait is_thread with is_basic_thread
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/.expect/extension.x86.txt

    re797179 r5d3d281  
    77    __extension__ signed int _X1ci_1;
    88};
    9 static inline void _X12_constructorFv_S1S_autogen___1(struct S *_X4_dstS1S_1);
    10 static inline void _X12_constructorFv_S1SS1S_autogen___1(struct S *_X4_dstS1S_1, struct S _X4_srcS1S_1);
    11 static inline void _X11_destructorFv_S1S_autogen___1(struct S *_X4_dstS1S_1);
    12 static inline struct S _X16_operator_assignFS1S_S1SS1S_autogen___1(struct S *_X4_dstS1S_1, struct S _X4_srcS1S_1);
    13 static inline void _X12_constructorFv_S1Si_autogen___1(struct S *_X4_dstS1S_1, signed int _X1ai_1);
    14 static inline void _X12_constructorFv_S1Sii_autogen___1(struct S *_X4_dstS1S_1, signed int _X1ai_1, signed int _X1bi_1);
    15 static inline void _X12_constructorFv_S1Siii_autogen___1(struct S *_X4_dstS1S_1, signed int _X1ai_1, signed int _X1bi_1, signed int _X1ci_1);
    169static inline void _X12_constructorFv_S1S_autogen___1(struct S *_X4_dstS1S_1){
    1710    {
     
    123116    __extension__ signed int _X1ci_1;
    124117};
    125 static inline void _X12_constructorFv_U1U_autogen___1(__attribute__ ((unused)) union U *_X4_dstU1U_1);
    126 static inline void _X12_constructorFv_U1UU1U_autogen___1(union U *_X4_dstU1U_1, union U _X4_srcU1U_1);
    127 static inline void _X11_destructorFv_U1U_autogen___1(__attribute__ ((unused)) union U *_X4_dstU1U_1);
    128 static inline union U _X16_operator_assignFU1U_U1UU1U_autogen___1(union U *_X4_dstU1U_1, union U _X4_srcU1U_1);
    129 static inline void _X12_constructorFv_U1Ui_autogen___1(union U *_X4_dstU1U_1, signed int _X1ai_1);
    130118static inline void _X12_constructorFv_U1U_autogen___1(__attribute__ ((unused)) union U *_X4_dstU1U_1){
    131119}
Note: See TracChangeset for help on using the changeset viewer.