Changeset 2e9b59b for src/Validate/FindSpecialDeclsNew.cpp
- Timestamp:
- Apr 19, 2022, 3:00:04 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- 5b84a321
- Parents:
- ba897d21 (diff), bb7c77d (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/Validate/FindSpecialDeclsNew.cpp
rba897d21 r2e9b59b 30 30 31 31 struct FindDeclsCore : public ast::WithShortCircuiting { 32 ast::Translation Unit::Global & global;33 FindDeclsCore( ast::Translation Unit::Global & g ) : global( g ) {}32 ast::TranslationGlobal & global; 33 FindDeclsCore( ast::TranslationGlobal & 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 82 76 // TODO: conditionally generate 'fake' declarations for missing features, 83 77 // so that translation can proceed in the event that builtins, prelude,
Note:
See TracChangeset
for help on using the changeset viewer.