Changes in src/AST/Convert.cpp [b3a0df6:6a45bd78]
- File:
-
- 1 edited
-
src/AST/Convert.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Convert.cpp
rb3a0df6 r6a45bd78 55 55 56 56 // these need to be accessed in new FixInit now 57 ast:: ptr<ast::Type>sizeType = nullptr;58 constast::FunctionDecl * dereferenceOperator = nullptr;59 constast::StructDecl * dtorStruct = nullptr;60 constast::FunctionDecl * dtorStructDestroy = nullptr;57 ast::Type * sizeType = nullptr; 58 ast::FunctionDecl * dereferenceOperator = nullptr; 59 ast::StructDecl * dtorStruct = nullptr; 60 ast::FunctionDecl * dtorStructDestroy = nullptr; 61 61 62 62 } … … 2804 2804 ConverterOldToNew c; 2805 2805 ast::TranslationUnit unit; 2806 if (Validate::SizeType) {2807 // this should be a BasicType.2808 auto old = strict_dynamic_cast<BasicType *>(Validate::SizeType);2809 ast::sizeType = new ast::BasicType{ (ast::BasicType::Kind)(unsigned)old->kind };2810 }2811 2812 2806 for(auto d : translationUnit) { 2813 2807 d->accept( c );
Note:
See TracChangeset
for help on using the changeset viewer.