Changeset b8ab91a for src/AST


Ignore:
Timestamp:
Nov 5, 2021, 1:46:46 PM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
Children:
21fe17f
Parents:
77c01ec
Message:

Fix Labels pass translated. This is fix label, mult-level exit and label generator.

Location:
src/AST
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Decl.hpp

    r77c01ec rb8ab91a  
    131131        // declared type, derived from parameter declarations
    132132        ptr<FunctionType> type;
     133        /// Null for the forward declaration of a function.
    133134        ptr<CompoundStmt> stmts;
    134135        std::vector< ptr<Expr> > withExprs;
  • src/AST/Stmt.hpp

    r77c01ec rb8ab91a  
    175175class CaseStmt final : public Stmt {
    176176public:
     177        /// Null for the default label.
    177178        ptr<Expr> cond;
    178179        std::vector<ptr<Stmt>> stmts;
Note: See TracChangeset for help on using the changeset viewer.