- Timestamp:
- Jan 10, 2025, 3:40:21 PM (10 days ago)
- Branches:
- master
- Children:
- c44f1f9
- Parents:
- d6c59bce
- Location:
- src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ControlStruct/ExceptDecl.cpp
rd6c59bce r299bd989 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // ExceptDecl.cpp -- 7 // ExceptDecl.cpp -- Translate "exception" and exception related declarations. 8 8 // 9 9 // Author : Andrew Beach 10 10 // Created On : Tue Jul 12 15:50:00 2022 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Sat Sep 7 12:05:55 202413 // Update Count : 111 // Last Modified By : Andrew Beach 12 // Last Modified On : Fri Jan 10 15:35:55 2024 13 // Update Count : 2 14 14 // 15 15 … … 117 117 decl->body = true; 118 118 for ( ast::ptr<ast::TypeDecl> const & param : forallClause ) { 119 decl->params.push_back( ast::deepCopy( param ) ); 119 // Create an unsized and assertionless copy of the parameter. 120 decl->params.push_back( new ast::TypeDecl( 121 param->location, 122 param->name, 123 param->storage, 124 param->base ? ast::deepCopy( param->base ) : nullptr, 125 ast::TypeDecl::Dtype, 126 false, 127 nullptr 128 ) ); 120 129 } 121 130 return decl; -
src/Virtual/ExpandCasts.cpp
rd6c59bce r299bd989 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // ExpandCasts.cpp -- 7 // ExpandCasts.cpp -- Expand virtual casts into lower level code. 8 8 // 9 9 // Author : Andrew Beach -
src/Virtual/ExpandCasts.hpp
rd6c59bce r299bd989 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // ExpandCasts.hpp -- 7 // ExpandCasts.hpp -- Expand virtual casts into lower level code. 8 8 // 9 9 // Author : Andrew Beach 10 10 // Created On : Mon Jul 24 13:54:00 2017 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Fri J ul 29 14:40:00 202213 // Update Count : 112 // Last Modified On : Fri Jan 10 14:34:00 2025 13 // Update Count : 2 14 14 // 15 15 16 16 #pragma once 17 17 18 #include <list> // for list19 20 class Declaration;21 18 namespace ast { 22 19 class TranslationUnit; … … 24 21 25 22 namespace Virtual { 26 void expandCasts( std::list< Declaration * > & translationUnit );27 23 void expandCasts( ast::TranslationUnit & translationUnit ); 28 24 // Breaks all virtual cast nodes up into translatable nodes. 29 25 30 // Later this might just set some information so it can happen at CodeGen.31 32 26 }
Note: See TracChangeset
for help on using the changeset viewer.