- File:
-
- 1 edited
-
src/Validate/FindSpecialDeclsNew.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Validate/FindSpecialDeclsNew.cpp
r39d8950 rce36b55 30 30 31 31 struct FindDeclsCore : public ast::WithShortCircuiting { 32 ast::Translation Global & global;33 FindDeclsCore( ast::Translation Global & g ) : global( g ) {}32 ast::TranslationUnit::Global & global; 33 FindDeclsCore( ast::TranslationUnit::Global & g ) : global( g ) {} 34 34 35 35 void previsit( const ast::Decl * decl ); … … 74 74 ast::Pass<FindDeclsCore>::run( translationUnit, translationUnit.global ); 75 75 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 76 82 // TODO: conditionally generate 'fake' declarations for missing features, 77 83 // so that translation can proceed in the event that builtins, prelude,
Note:
See TracChangeset
for help on using the changeset viewer.