Changeset 4ae2364 for src/AST/Convert.cpp
- Timestamp:
- Jun 3, 2019, 5:36:47 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:
- 98a8290, ee574a2
- Parents:
- f474e91 (diff), dafe9e1 (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
rf474e91 r4ae2364 47 47 namespace { 48 48 49 // This is to preserve the SymTab::dereferenceOperatorhack. It does not (and perhaps should not)49 // This is to preserve the FindSpecialDecls hack. It does not (and perhaps should not) 50 50 // allow us to use the same stratagy in the new ast. 51 51 ast::FunctionDecl * dereferenceOperator = nullptr; 52 ast::StructDecl * dtorStruct = nullptr; 53 ast::FunctionDecl * dtorStructDestroy = nullptr; 52 54 53 55 } … … 176 178 Validate::dereferenceOperator = decl; 177 179 } 180 if ( dtorStructDestroy == node ) { 181 Validate::dtorStructDestroy = decl; 182 } 178 183 return declWithTypePostamble( decl, node ); 179 184 } … … 231 236 LinkageSpec::Spec( node->linkage.val ) 232 237 ); 238 239 if ( dtorStruct == node ) { 240 Validate::dtorStruct = decl; 241 } 242 233 243 return aggregatePostamble( decl, node ); 234 244 } … … 1458 1468 dereferenceOperator = decl; 1459 1469 } 1470 1471 if ( Validate::dtorStructDestroy == old ) { 1472 dtorStructDestroy = decl; 1473 } 1460 1474 } 1461 1475 … … 1479 1493 1480 1494 this->node = decl; 1495 1496 if ( Validate::dtorStruct == old ) { 1497 dtorStruct = decl; 1498 } 1481 1499 } 1482 1500
Note: See TracChangeset
for help on using the changeset viewer.