Ignore:
Timestamp:
Jul 26, 2022, 11:35:02 AM (21 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, master, pthread-emulation
Children:
3992098, 7ce8873
Parents:
5cf1228
Message:

Changed the default Linkage on ast::ObjectDecl? from C to Cforall. There appears to be only one internal name that actually needed to be C.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Concurrency/KeywordsNew.cpp

    r5cf1228 re8616b6  
    398398                        new ast::ReferenceType( vtable_object->type, ast::CV::Const ),
    399399                        new ast::SingleInit( location,
    400                                 new ast::VariableExpr( location, vtable_object ) ),
    401                         ast::Storage::Classes(),
    402                         ast::Linkage::Cforall
     400                                new ast::VariableExpr( location, vtable_object ) )
    403401                )
    404402        );
     
    471469                location,
    472470                "this",
    473                 new ast::ReferenceType( new ast::StructInstType( decl ) ),
    474                 nullptr,
    475                 ast::Storage::Classes(),
    476                 ast::Linkage::Cforall
     471                new ast::ReferenceType( new ast::StructInstType( decl ) )
    477472        );
    478473
     
    480475                location,
    481476                "ret",
    482                 new ast::PointerType( new ast::StructInstType( type_decl ) ),
    483                 nullptr,
    484                 ast::Storage::Classes(),
    485                 ast::Linkage::Cforall
     477                new ast::PointerType( new ast::StructInstType( type_decl ) )
    486478        );
    487479
     
    530522                location,
    531523                field_name,
    532                 new ast::StructInstType( type_decl ),
    533                 nullptr,
    534                 ast::Storage::Classes(),
    535                 ast::Linkage::Cforall
     524                new ast::StructInstType( type_decl )
    536525        );
    537526
     
    577566                location,
    578567                "this",
    579                 new ast::ReferenceType( new ast::StructInstType( decl ) ),
    580                 nullptr,
    581                 ast::Storage::Classes(),
    582                 ast::Linkage::Cforall
     568                new ast::ReferenceType( new ast::StructInstType( decl ) )
    583569        );
    584570
     
    10771063                                ) }
    10781064                        )
    1079                 ),
    1080                 ast::Storage::Classes(),
    1081                 ast::Linkage::Cforall
     1065                )
    10821066        );
    10831067
     
    11071091                                {},
    11081092                                ast::MaybeConstruct
    1109                         ),
    1110                         ast::Storage::Classes(),
    1111                         ast::Linkage::Cforall
     1093                        )
    11121094                ))
    11131095        );
     
    11611143                                }
    11621144                        )
    1163                 ),
    1164                 ast::Storage::Classes(),
    1165                 ast::Linkage::Cforall
     1145                )
    11661146        );
    11671147
     
    11901170                                {},
    11911171                                ast::MaybeConstruct
    1192                         ),
    1193                         ast::Storage::Classes(),
    1194                         ast::Linkage::Cforall
     1172                        )
    11951173                ))
    11961174        );
     
    12961274                                }
    12971275                        )
    1298                 ),
    1299                 ast::Storage::Classes(),
    1300                 ast::Linkage::Cforall
     1276                )
    13011277        );
    13021278
     
    13701346                                        {},
    13711347                                        ast::MaybeConstruct
    1372                                 ),
    1373                                 ast::Storage::Classes(),
    1374                                 ast::Linkage::Cforall
     1348                                )
    13751349                        )
    13761350                )
     
    15131487                                {},
    15141488                                ast::MaybeConstruct
    1515                         ),
    1516                         ast::Storage::Classes(),
    1517                         ast::Linkage::Cforall
     1489                        )
    15181490                )
    15191491        ));
Note: See TracChangeset for help on using the changeset viewer.