Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Decl.hpp

    raf746cc r85855b0  
    7575        bool isDeleted = false;
    7676        bool isTypeFixed = false;
     77        bool isHidden = false;
    7778
    7879        DeclWithType( const CodeLocation& loc, const std::string& name, Storage::Classes storage,
     
    313314        ptr<Type> base;
    314315        enum class EnumHiding { Visible, Hide } hide;
     316        std::vector< ast::ptr<ast::EnumInstType>> inlinedDecl; // child enums
     317
    315318        EnumDecl( const CodeLocation& loc, const std::string& name, bool isTyped = false,
    316319                std::vector<ptr<Attribute>>&& attrs = {}, Linkage::Spec linkage = Linkage::Cforall,
     
    328331
    329332        const std::string getUnmangeldArrayName( const EnumAttribute attr ) const;
     333
     334        unsigned calChildOffset(const std::string & childEnum) const;
     335        unsigned calChildOffset(const ast::EnumInstType * childEnum) const;
     336
     337        bool isSubTypeOf(const ast::EnumDecl *) const;
    330338private:
    331339        EnumDecl * clone() const override { return new EnumDecl{ *this }; }
Note: See TracChangeset for help on using the changeset viewer.