Changeset 86841ee for src


Ignore:
Timestamp:
Sep 29, 2024, 4:02:30 PM (3 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
917f67dd
Parents:
c82dad4 (diff), 2d6add4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

Location:
src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Decl.hpp

    rc82dad4 r86841ee  
    119119enum ArgumentFlag { FixedArgs, VariableArgs };
    120120
    121 /// Object declaration `int foo()`
     121/// Function declaration `int foo()`
    122122class FunctionDecl final : public DeclWithType {
    123123public:
  • src/AST/Stmt.hpp

    rc82dad4 r86841ee  
    269269
    270270        ForeachStmt( const CodeLocation & loc, const std::vector<ptr<Stmt>> && inits,
    271                         const Expr * range_over, RangeDirection isInc, const Stmt * body, const Stmt * else_ )
     271                        const Expr * range_over, RangeDirection isInc, const Stmt * body,
     272                        const Stmt * else_, const std::vector<Label> && labels = {} )
    272273                : Stmt(loc, std::move(labels)), inits(std::move(inits)), range(range_over),
    273274                body(body), else_(else_), isIncreasing(isInc) {}
  • src/Parser/TypedefTable.cpp

    rc82dad4 r86841ee  
    2525#include "ExpressionNode.hpp"                                                   // for LabelNode
    2626#include "ParserTypes.hpp"                                                              // for Token
    27 #include "StatementNode.hpp"                                                    // for CondCtl, ForCtrl
     27#include "StatementNode.hpp"                                                    // for CondCtrl, ForCtrl
    2828// This (generated) header must come late as it is missing includes.
    2929#include "parser.hh"                                                                    // for IDENTIFIER, TYPEDEFname, TYPEGENname
Note: See TracChangeset for help on using the changeset viewer.