Changeset 23954b6 for src/AST


Ignore:
Timestamp:
Nov 12, 2020, 10:18:24 AM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
0d4456b
Parents:
21255675
Message:

Convert now fills in the globals of the TranslationUnit?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Convert.cpp

    r21255675 r23954b6  
    99// Author           : Thierry Delisle
    1010// Created On       : Thu May 09 15::37::05 2019
    11 // Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Dec 11 21:39:32 2019
    13 // Update Count     : 33
     11// Last Modified By : Andrew Beach
     12// Last Modified On : Thr Nov 12 10:07:00 2020
     13// Update Count     : 34
    1414//
    1515
     
    187187                auto init = get<Initializer>().accept1( node->init );
    188188                decl->init = init;
    189                
     189
    190190                this->node = decl;
    191191                return nullptr;
     
    28122812        }
    28132813        deleteAll(translationUnit);
     2814
     2815        // Load the local static varables into the global store.
     2816        unit.global.sizeType = ast::sizeType;
     2817        unit.global.dereference = ast::dereferenceOperator;
     2818        unit.global.dtorStruct = ast::dtorStruct;
     2819        unit.global.dtorDestroy = ast::dtorStructDestroy;
     2820
    28142821        return unit;
    28152822}
Note: See TracChangeset for help on using the changeset viewer.