Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Validate/FindSpecialDeclsNew.cpp

    r39d8950 rce36b55  
    3030
    3131struct FindDeclsCore : public ast::WithShortCircuiting {
    32         ast::TranslationGlobal & global;
    33         FindDeclsCore( ast::TranslationGlobal & g ) : global( g ) {}
     32        ast::TranslationUnit::Global & global;
     33        FindDeclsCore( ast::TranslationUnit::Global & g ) : global( g ) {}
    3434
    3535        void previsit( const ast::Decl * decl );
     
    7474        ast::Pass<FindDeclsCore>::run( translationUnit, translationUnit.global );
    7575
     76        // TODO: When everything gets the globals from the translation unit,
     77        // remove these.
     78        ast::dereferenceOperator = translationUnit.global.dereference;
     79        ast::dtorStruct = translationUnit.global.dtorStruct;
     80        ast::dtorStructDestroy = translationUnit.global.dtorDestroy;
     81
    7682        // TODO: conditionally generate 'fake' declarations for missing features,
    7783        // so that translation can proceed in the event that builtins, prelude,
Note: See TracChangeset for help on using the changeset viewer.