Changeset fca78f1 for src/Common


Ignore:
Timestamp:
Sep 23, 2024, 11:14:56 AM (12 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
738a9b4
Parents:
b723b63
Message:

Added ForeachStmt (felt better than ForEachStmt). This new node is a bit optimistic in that currently it is covering a very narrow case, but with improvements to it and RangeExpr, it could handle many more kind of loops.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/CodeLocationTools.cpp

    rb723b63 rfca78f1  
    119119    macro(WhileDoStmt, Stmt) \
    120120    macro(ForStmt, Stmt) \
     121    macro(ForeachStmt, Stmt) \
    121122    macro(SwitchStmt, Stmt) \
    122123    macro(CaseClause, CaseClause) \
Note: See TracChangeset for help on using the changeset viewer.