Changeset 8913de4 for src/SymTab
- Timestamp:
- May 30, 2023, 11:13:58 AM (11 months ago)
- Branches:
- ast-experimental, master
- Children:
- 2cb8bf71, 6f774be, 70a4ed5
- Parents:
- efe89894
- Location:
- src/SymTab
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Autogen.h
refe89894 r8913de4 20 20 #include <string> // for string 21 21 22 #include "AST/Decl.hpp"23 #include "AST/Expr.hpp"24 #include "AST/Init.hpp"25 #include "AST/Node.hpp"26 #include "AST/Stmt.hpp"27 #include "AST/Type.hpp"28 22 #include "CodeGen/OperatorTable.h" 29 23 #include "Common/UniqueName.h" // for UniqueName … … 57 51 /// maybePolymorphic is true if the resulting FunctionType is allowed to be polymorphic 58 52 FunctionType * genCopyType( Type * paramType, bool maybePolymorphic = true ); 59 60 /// Enum for loop direction61 enum LoopDirection { LoopBackward, LoopForward };62 53 63 54 /// inserts into out a generated call expression to function fname with arguments dstParam and srcParam. Intended to be used with generated ?=?, ?{}, and ^?{} calls. -
src/SymTab/GenImplicitCall.cpp
refe89894 r8913de4 16 16 #include "GenImplicitCall.hpp" 17 17 18 #include "AST/Decl.hpp" // for ObjectDecl 19 #include "AST/Expr.hpp" // for ConstantExpr, UntypedExpr,... 20 #include "AST/Init.hpp" // for SingleInit 18 21 #include "AST/Inspect.hpp" // for isUnnamedBitfield 22 #include "AST/Stmt.hpp" // for ExprStmt 23 #include "AST/Type.hpp" // for ArrayType, BasicType, ... 19 24 #include "CodeGen/OperatorTable.h" // for isCtorDtor 20 25 #include "Common/UniqueName.h" // for UniqueName 21 26 22 27 namespace SymTab { 28 29 namespace { 23 30 24 31 template< typename OutIter > … … 173 180 } 174 181 182 } // namespace 183 175 184 ast::ptr< ast::Stmt > genImplicitCall( 176 185 InitTweak::InitExpander_new & srcParam, const ast::Expr * dstParam, -
src/SymTab/GenImplicitCall.hpp
refe89894 r8913de4 17 17 18 18 #include "InitTweak/InitTweak.h" // for InitExpander 19 #include "SymTab/Autogen.h" // for LoopDirection20 19 21 20 namespace SymTab { 22 21 22 /// Enum for loop direction 23 enum LoopDirection { LoopBackward, LoopForward }; 24 25 /// Returns a generated call expression to function fname with srcParam and 26 /// dstParam. Intended to be used with generated ?=?, ?{}, and ^?{} calls. 23 27 ast::ptr<ast::Stmt> genImplicitCall( 24 28 InitTweak::InitExpander_new & srcParam, const ast::Expr * dstParam, … … 34 38 // compile-command: "make install" // 35 39 // End: // 36
Note: See TracChangeset
for help on using the changeset viewer.