Changeset 38093ae for src/Validate


Ignore:
Timestamp:
Apr 18, 2024, 8:44:24 PM (9 months ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
19313be5, cf191ac
Parents:
748c751 (diff), 7a780ad (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Resolve conflict

Location:
src/Validate
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/Validate/GenericParameter.cpp

    r748c751 r38093ae  
    289289                return new ast::TypeExpr( expr->location,
    290290                        new ast::ArrayType(
    291                                 new ast::BasicType( ast::BasicType::Char ),
     291                                new ast::BasicType( ast::BasicKind::Char ),
    292292                                expr,
    293293                                ast::VariableLen,
  • src/Validate/ImplementEnumFunc.cpp

    r748c751 r38093ae  
    305305        {new ast::ObjectDecl(
    306306            getLocation(), "_ret",
    307             new ast::PointerType(new ast::BasicType{ast::BasicType::Char}))});
     307            new ast::PointerType(new ast::BasicType{ast::BasicKind::Char}))});
    308308}
    309309
     
    358358        attr == ast::EnumAttribute::Value
    359359            ? decl->base
    360             : new ast::PointerType(new ast::BasicType{ast::BasicType::Char}),
     360            : new ast::PointerType(new ast::BasicType{ast::BasicKind::Char}),
    361361        ast::ConstantExpr::from_int(decl->location, decl->members.size()),
    362362        ast::LengthFlag::FixedLen, ast::DimensionFlag::DynamicDim);
  • src/Validate/ReplaceTypedef.cpp

    r748c751 r38093ae  
    349349                // Perhaps this should be a warning instead.
    350350                translationUnit.global.sizeType =
    351                         new ast::BasicType( ast::BasicType::LongUnsignedInt );
     351                        new ast::BasicType( ast::BasicKind::LongUnsignedInt );
    352352        }
    353353}
Note: See TracChangeset for help on using the changeset viewer.