Changeset 7f2bfb7 for src/AST/Decl.hpp
- Timestamp:
- Nov 29, 2023, 1:41:52 PM (13 months ago)
- Branches:
- master
- Children:
- 4dc3b8c
- Parents:
- 4f1b2d69 (diff), ab9c1b3 (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/AST/Decl.hpp
r4f1b2d69 r7f2bfb7 135 135 std::vector< ptr<Expr> > withExprs; 136 136 137 // The difference between the two constructors is in how they handle 138 // assertions. The first constructor uses the assertions from the type 139 // parameters, in the style of the old ast, and puts them on the type. 140 // The second takes an explicite list of assertions and builds a list of 141 // references to them on the type. 142 143 FunctionDecl( const CodeLocation & loc, const std::string & name, std::vector<ptr<TypeDecl>>&& forall, 137 /// Monomorphic Function Constructor: 138 FunctionDecl( const CodeLocation & locaction, const std::string & name, 144 139 std::vector<ptr<DeclWithType>>&& params, std::vector<ptr<DeclWithType>>&& returns, 145 140 CompoundStmt * stmts, Storage::Classes storage = {}, Linkage::Spec linkage = Linkage::Cforall, 146 141 std::vector<ptr<Attribute>>&& attrs = {}, Function::Specs fs = {}, ArgumentFlag isVarArgs = FixedArgs ); 147 142 143 /// Polymorphic Function Constructor: 148 144 FunctionDecl( const CodeLocation & location, const std::string & name, 149 145 std::vector<ptr<TypeDecl>>&& forall, std::vector<ptr<DeclWithType>>&& assertions,
Note: See TracChangeset
for help on using the changeset viewer.