Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Convert.cpp

    rb0d9ff7 r1931bb01  
    310310                        node->name,
    311311                        get<Attribute>().acceptL( node->attributes ),
    312                         false, // Temporary
    313312                        LinkageSpec::Spec( node->linkage.val ),
    314313                        get<Type>().accept1(node->base)
     
    732731        }
    733732
    734         const ast::Expr * visit( const ast::QualifiedNameExpr * node ) override final {
    735                 auto temp = new QualifiedNameExpr(
    736                                 get<Declaration>().accept1(node->type_decl),
    737                                 node->name
    738                 );
    739                 temp->var = get<DeclarationWithType>().accept1(node->var);
    740                 auto expr = visitBaseExpr( node,
    741                         temp
    742                 );
    743                 this->node = expr;
    744                 return nullptr;
    745         }
    746 
    747733        const ast::Expr * visit( const ast::AddressExpr * node ) override final {
    748734                auto expr = visitBaseExpr( node,
     
    17541740                        old->location,
    17551741                        old->name,
    1756                         old->isTyped,
    17571742                        GET_ACCEPT_V(attributes, Attribute),
    17581743                        { old->linkage.val },
     
    22812266        }
    22822267
    2283         /// xxx - type_decl should be DeclWithType in the final design
    2284         /// type_decl is set to EnumDecl as a temporary fix
    2285         virtual void visit( const QualifiedNameExpr * old ) override final {
    2286                 this->node = visitBaseExpr( old,
    2287                         new ast::QualifiedNameExpr (
    2288                                 old->location,
    2289                                 GET_ACCEPT_1(type_decl, Decl),
    2290                                 GET_ACCEPT_1(var, DeclWithType),
    2291                                 old->name
    2292                         )
    2293                 );
    2294         }
    2295 
    22962268        virtual void visit( const CastExpr * old ) override final {
    22972269                this->node = visitBaseExpr( old,
Note: See TracChangeset for help on using the changeset viewer.