- Timestamp:
- May 29, 2019, 5:08:05 PM (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:
- 6054b18, 8d70648
- Parents:
- 0aedb01
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Convert.cpp
r0aedb01 rd88f8b3b 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 … … 166 166 LinkageSpec::Spec( node->linkage.val ), 167 167 get<FunctionType>().accept1( node->type ), 168 get<CompoundStmt>().accept1( node->stmts ),168 {}, 169 169 get<Attribute>().acceptL( node->attributes ), 170 170 Type::FuncSpecifiers( node->funcSpec.val ) 171 171 ); 172 cache.emplace( node, decl ); 173 decl->statements = get<CompoundStmt>().accept1( node->stmts ); 172 174 decl->withExprs = get<Expression>().acceptL( node->withExprs ); 173 175 if ( dereferenceOperator == node ) { … … 1436 1438 old->name, 1437 1439 GET_ACCEPT_1(type, FunctionType), 1438 GET_ACCEPT_1(statements, CompoundStmt),1440 {}, 1439 1441 { old->storageClasses.val }, 1440 1442 { old->linkage.val }, … … 1443 1445 }; 1444 1446 cache.emplace( old, decl ); 1447 decl->stmts = GET_ACCEPT_1(statements, CompoundStmt); 1445 1448 decl->scopeLevel = old->scopeLevel; 1446 1449 decl->mangleName = old->mangleName;
Note: See TracChangeset
for help on using the changeset viewer.