Changeset a935892 for src/AST/Convert.cpp
- Timestamp:
- Jun 3, 2019, 10:54:01 AM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 0e315a5, dafe9e1
- Parents:
- 043a5b6 (diff), 8d70648 (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/Convert.cpp
r043a5b6 ra935892 10 10 // Created On : Thu May 09 15::37::05 2019 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Wed May 29 1 1:05:00 201913 // Update Count : 812 // Last Modified On : Wed May 29 17:05:00 2019 13 // Update Count : 9 14 14 // 15 15 … … 77 77 std::list< T * > acceptL( const U & container ) { 78 78 std::list< T * > ret; 79 for ( auto ptr : container ) {79 for ( auto ptr : container ) { 80 80 ret.emplace_back( accept1( ptr ) ); 81 81 } … … 168 168 LinkageSpec::Spec( node->linkage.val ), 169 169 get<FunctionType>().accept1( node->type ), 170 get<CompoundStmt>().accept1( node->stmts ),170 {}, 171 171 get<Attribute>().acceptL( node->attributes ), 172 172 Type::FuncSpecifiers( node->funcSpec.val ) 173 173 ); 174 cache.emplace( node, decl ); 175 decl->statements = get<CompoundStmt>().accept1( node->stmts ); 174 176 decl->withExprs = get<Expression>().acceptL( node->withExprs ); 175 177 if ( dereferenceOperator == node ) { … … 1446 1448 old->name, 1447 1449 GET_ACCEPT_1(type, FunctionType), 1448 GET_ACCEPT_1(statements, CompoundStmt),1450 {}, 1449 1451 { old->storageClasses.val }, 1450 1452 { old->linkage.val }, … … 1453 1455 }; 1454 1456 cache.emplace( old, decl ); 1457 decl->withExprs = GET_ACCEPT_V(withExprs, Expr); 1458 decl->stmts = GET_ACCEPT_1(statements, CompoundStmt); 1455 1459 decl->scopeLevel = old->scopeLevel; 1456 1460 decl->mangleName = old->mangleName;
Note: See TracChangeset
for help on using the changeset viewer.