Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Convert.cpp

    rb3a0df6 r6a45bd78  
    5555
    5656// these need to be accessed in new FixInit now
    57 ast::ptr<ast::Type> sizeType = nullptr;
    58 const ast::FunctionDecl * dereferenceOperator = nullptr;
    59 const ast::StructDecl   * dtorStruct = nullptr;
    60 const ast::FunctionDecl * dtorStructDestroy = nullptr;
     57ast::Type * sizeType = nullptr;
     58ast::FunctionDecl * dereferenceOperator = nullptr;
     59ast::StructDecl   * dtorStruct = nullptr;
     60ast::FunctionDecl * dtorStructDestroy = nullptr;
    6161
    6262}
     
    28042804        ConverterOldToNew c;
    28052805        ast::TranslationUnit unit;
    2806         if (Validate::SizeType) {
    2807                 // this should be a BasicType.
    2808                 auto old = strict_dynamic_cast<BasicType *>(Validate::SizeType);
    2809                 ast::sizeType = new ast::BasicType{ (ast::BasicType::Kind)(unsigned)old->kind };
    2810         }
    2811 
    28122806        for(auto d : translationUnit) {
    28132807                d->accept( c );
Note: See TracChangeset for help on using the changeset viewer.