Changeset 0bd46fd for src/ControlStruct
- Timestamp:
- Sep 21, 2022, 10:52:51 AM (2 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation
- Children:
- 7f6a7c9, e01eb4a
- Parents:
- 20737104
- Location:
- src/ControlStruct
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/ControlStruct/LabelGeneratorNew.cpp ¶
r20737104 r0bd46fd 14 14 // 15 15 16 using namespace std;17 18 16 #include "LabelGeneratorNew.hpp" 19 17 … … 21 19 #include "AST/Label.hpp" 22 20 #include "AST/Stmt.hpp" 21 22 using namespace std; 23 23 using namespace ast; 24 24 -
TabularUnified src/ControlStruct/MultiLevelExit.cpp ¶
r20737104 r0bd46fd 356 356 vec.emplace_back( nullptr ); 357 357 for ( size_t i = vec.size() - 1 ; 0 < i ; --i ) { 358 vec[ i ] = move( vec[ i - 1 ] );358 vec[ i ] = std::move( vec[ i - 1 ] ); 359 359 } 360 360 vec[ 0 ] = element; … … 511 511 512 512 void MultiLevelExitCore::previsit( const FinallyClause * ) { 513 GuardAction([this, old = move( enclosing_control_structures)](){ enclosing_control_structures =move(old); });513 GuardAction([this, old = std::move( enclosing_control_structures)](){ enclosing_control_structures = std::move(old); }); 514 514 enclosing_control_structures = vector<Entry>(); 515 515 GuardValue( inFinally ) = true;
Note: See TracChangeset
for help on using the changeset viewer.