Ignore:
Timestamp:
Sep 15, 2022, 11:28:46 AM (20 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, master, pthread-emulation
Children:
747d0fa, a2fd937
Parents:
25793da
Message:

Changed ast::pass::make_location_guard so it should work with C++14.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Pass.impl.hpp

    r25793da r95e5018  
    2626        using namespace ast; \
    2727        /* back-up the last known code location */ \
    28         __attribute__((unused)) auto loc_guard = ast::__pass::make_location_guard( core, node ); \
     28        __attribute__((unused)) auto loc_guard = ast::__pass::make_location_guard( core, node, 0 ); \
    2929        /* back-up the visit children */ \
    3030        __attribute__((unused)) ast::__pass::visit_children_guard guard1( ast::__pass::visit_children(core, 0) ); \
Note: See TracChangeset for help on using the changeset viewer.