Changeset 7c70089 for src/Concurrency
- Timestamp:
- Mar 17, 2017, 1:36:27 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 31ce3d6
- Parents:
- b32ada31 (diff), 946bcca (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/Concurrency/Keywords.cc
rb32ada31 r7c70089 12 12 // Last Modified By : 13 13 // Last Modified On : 14 // Update Count : 114 // Update Count : 3 15 15 // 16 16 … … 264 264 //Find mutex arguments 265 265 Type* ty = arg->get_type(); 266 if( ! ty->get_ qualifiers().isMutex) continue;266 if( ! ty->get_mutex() ) continue; 267 267 268 268 //Append it to the list … … 285 285 286 286 //Make sure that typed isn't mutex 287 if( base->get_qualifiers().isMutex) throw SemanticError( "mutex keyword may only appear once per argument ", arg );287 if( ! base->get_mutex() ) throw SemanticError( "mutex keyword may only appear once per argument ", arg ); 288 288 } 289 289
Note: See TracChangeset
for help on using the changeset viewer.