Changeset e02e13f for src/Parser/parserutility.h
- Timestamp:
- Apr 4, 2023, 10:12:57 PM (14 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 9bb8ee42
- Parents:
- ff71057 (diff), bb7422a (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parserutility.h
rff71057 re02e13f 10 10 // Created On : Sat May 16 15:31:46 2015 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : T hr Mar 9 12:16:00 202313 // Update Count : 612 // Last Modified On : Tue Apr 4 14:03:00 2023 13 // Update Count : 7 14 14 // 15 15 16 16 #pragma once 17 17 18 class Expression; 18 #include "AST/Copy.hpp" // for shallowCopy 19 namespace ast { 20 class Expr; 21 } 19 22 20 Expression *notZeroExpr( Expression*orig );23 ast::Expr * notZeroExpr( ast::Expr *orig ); 21 24 22 25 template< typename T > … … 32 35 } 33 36 37 template<typename node_t> 38 node_t * maybeCopy( node_t const * node ) { 39 return node ? ast::shallowCopy( node ) : nullptr; 40 } 41 34 42 // Local Variables: // 35 43 // tab-width: 4 //
Note: See TracChangeset
for help on using the changeset viewer.