Changeset e9e9f56 for src/AST/Pass.hpp


Ignore:
Timestamp:
Sep 21, 2022, 9:22:24 AM (21 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, master, pthread-emulation
Children:
20737104
Parents:
b6c3688
Message:

Used the WithCodeLocation? helper in more passes. This cleans up some code and should improve efficiency.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Pass.hpp

    rb6c3688 re9e9f56  
    328328struct PureVisitor {};
    329329
     330/// Keep track of the nearest parent node's location field.
    330331struct WithCodeLocation {
    331332        const CodeLocation * location = nullptr;
Note: See TracChangeset for help on using the changeset viewer.