Ignore:
Timestamp:
Oct 31, 2023, 10:39:33 AM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master, stuck-waitfor-destruct
Children:
58c64323
Parents:
7d55e4d
Message:

Added a missing include (not sure how that slipped through) and did some other replacements so the new ast is the source of constants.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/ConversionCost.cc

    r7d55e4d r4ac402d  
    268268        // GENERATED END
    269269        static_assert(
    270                 sizeof(costMatrix)/sizeof(costMatrix[0][0]) == BasicType::NUMBER_OF_BASIC_TYPES * BasicType::NUMBER_OF_BASIC_TYPES,
     270                sizeof(costMatrix)/sizeof(costMatrix[0][0]) == ast::BasicType::NUMBER_OF_BASIC_TYPES * ast::BasicType::NUMBER_OF_BASIC_TYPES,
    271271                "Missing row in the cost matrix"
    272272        );
     
    315315        // GENERATED END
    316316        static_assert(
    317                 sizeof(signMatrix)/sizeof(signMatrix[0][0]) == BasicType::NUMBER_OF_BASIC_TYPES * BasicType::NUMBER_OF_BASIC_TYPES,
     317                sizeof(signMatrix)/sizeof(signMatrix[0][0]) == ast::BasicType::NUMBER_OF_BASIC_TYPES * ast::BasicType::NUMBER_OF_BASIC_TYPES,
    318318                "Missing row in the sign matrix"
    319319        );
Note: See TracChangeset for help on using the changeset viewer.