Changeset 41d3c8d for src/Concurrency
- Timestamp:
- Mar 21, 2022, 12:14:07 PM (2 years ago)
- Branches:
- ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
- Children:
- 98d1b90, b39e961b
- Parents:
- 0d4f954
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Concurrency/KeywordsNew.cpp
r0d4f954 r41d3c8d 1004 1004 1005 1005 const ast::Stmt * MutexKeyword::postvisit( const ast::MutexStmt * stmt ) { 1006 if ( !lock_guard_decl ) { 1007 SemanticError( stmt->location, "mutex stmt requires a header, add #include <mutex_stmt.hfa>\n" ); 1008 } 1006 1009 ast::CompoundStmt * body = 1007 1010 new ast::CompoundStmt( stmt->location, { stmt->stmt } );
Note: See TracChangeset
for help on using the changeset viewer.