Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Pass.impl.hpp

    re8616b6 r9e23b446  
    597597                        guard_symtab guard { *this };
    598598                        // implicit add __func__ identifier as specified in the C manual 6.4.2.2
    599                         // This is a C name and so has C linkage.
    600599                        static ast::ptr< ast::ObjectDecl > func{ new ast::ObjectDecl{
    601600                                CodeLocation{}, "__func__",
     
    603602                                        new ast::BasicType{ ast::BasicType::Char, ast::CV::Const },
    604603                                        nullptr, VariableLen, DynamicDim
    605                                 },
    606                                 nullptr,
    607                                 ast::Storage::Classes(),
    608                                 ast::Linkage::C,
     604                                }
    609605                        } };
    610606                        __pass::symtab::addId( core, 0, func );
     
    685681        if ( __visit_children() ) {
    686682                // unlike structs, traits, and unions, enums inject their members into the global scope
    687                 maybe_accept( node, &EnumDecl::base );
    688683                maybe_accept( node, &EnumDecl::params     );
    689684                maybe_accept( node, &EnumDecl::members    );
Note: See TracChangeset for help on using the changeset viewer.