Changeset b336af9
- Timestamp:
- May 16, 2019, 4:12:44 PM (6 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- c671112
- Parents:
- 204358b
- Location:
- src/AST
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Convert.cpp
r204358b rb336af9 135 135 decl->parent = parent; 136 136 decl->body = old->body; 137 decl->param eters = params;137 decl->params = params; 138 138 decl->members = members; 139 139 decl->extension = old->extension; … … 158 158 decl->parent = parent; 159 159 decl->body = old->body; 160 decl->param eters = params;160 decl->params = params; 161 161 decl->members = members; 162 162 decl->extension = old->extension; … … 181 181 decl->parent = parent; 182 182 decl->body = old->body; 183 decl->param eters = params;183 decl->params = params; 184 184 decl->members = members; 185 185 decl->extension = old->extension; … … 204 204 decl->parent = parent; 205 205 decl->body = old->body; 206 decl->param eters = params;206 decl->params = params; 207 207 decl->members = members; 208 208 decl->extension = old->extension; … … 230 230 231 231 decl->assertions = asserts; 232 decl->param eters = params;232 decl->params = params; 233 233 decl->extension = old->extension; 234 234 decl->uniqueId = old->uniqueId; … … 591 591 virtual void visit( Attribute * ) override final { 592 592 593 } 594 595 virtual void visit( AttrExpr * ) override final { 596 597 assert( 0 ); 593 598 } 594 599 }; -
src/AST/Pass.hpp
r204358b rb336af9 133 133 const ast::Expr * visit( const ast::OffsetofExpr * ) override final; 134 134 const ast::Expr * visit( const ast::OffsetPackExpr * ) override final; 135 const ast::Expr * visit( const ast::AttrExpr * ) override final;136 135 const ast::Expr * visit( const ast::LogicalExpr * ) override final; 137 136 const ast::Expr * visit( const ast::ConditionalExpr * ) override final; -
src/AST/Pass.impl.hpp
r204358b rb336af9 462 462 VISIT({ 463 463 guard_indexer guard { * this }; 464 maybe_accept( node, &StructDecl::param eters );464 maybe_accept( node, &StructDecl::params ); 465 465 maybe_accept( node, &StructDecl::members ); 466 466 }) … … 483 483 VISIT({ 484 484 guard_indexer guard { * this }; 485 maybe_accept( node, &UnionDecl::param eters );485 maybe_accept( node, &UnionDecl::params ); 486 486 maybe_accept( node, &UnionDecl::members ); 487 487 }) … … 502 502 VISIT( 503 503 // unlike structs, traits, and unions, enums inject their members into the global scope 504 maybe_accept( node, &EnumDecl::param eters );504 maybe_accept( node, &EnumDecl::params ); 505 505 maybe_accept( node, &EnumDecl::members ); 506 506 ) … … 517 517 VISIT({ 518 518 guard_indexer guard { *this }; 519 maybe_accept( node, &TraitDecl::param eters );519 maybe_accept( node, &TraitDecl::params ); 520 520 maybe_accept( node, &TraitDecl::members ); 521 521 }) … … 534 534 VISIT({ 535 535 guard_indexer guard { *this }; 536 maybe_accept( node, &TypeDecl::param eters );536 maybe_accept( node, &TypeDecl::params ); 537 537 maybe_accept( node, &TypeDecl::base ); 538 538 }) … … 563 563 VISIT({ 564 564 guard_indexer guard { *this }; 565 maybe_accept( node, &TypedefDecl::param eters );565 maybe_accept( node, &TypedefDecl::params ); 566 566 maybe_accept( node, &TypedefDecl::base ); 567 567 }) -
src/AST/Pass.proto.hpp
r204358b rb336af9 247 247 static inline auto addStructFwd( pass_t & pass, int, const ast::StructDecl * decl ) -> decltype( pass.indexer.addStruct( decl ), void() ) { 248 248 ast::StructDecl * fwd = new ast::StructDecl( decl->location, decl->name ); 249 fwd->param eters = decl->parameters;249 fwd->params = decl->params; 250 250 pass.indexer.addStruct( fwd ); 251 251 } … … 257 257 static inline auto addUnionFwd( pass_t & pass, int, const ast::UnionDecl * decl ) -> decltype( pass.indexer.addUnion( decl ), void() ) { 258 258 UnionDecl * fwd = new UnionDecl( decl->location, decl->name ); 259 fwd->param eters = decl->parameters;259 fwd->params = decl->params; 260 260 pass.indexer.addUnion( fwd ); 261 261 }
Note: See TracChangeset
for help on using the changeset viewer.