Changeset 615a096 for src/Concurrency/Keywords.cc
- Timestamp:
- Mar 17, 2017, 9:58:23 AM (7 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:
- 409433da, 946bcca
- Parents:
- 395fc37
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Concurrency/Keywords.cc
r395fc37 r615a096 12 12 // Last Modified By : 13 13 // Last Modified On : 14 // Update Count : 114 // Update Count : 3 15 15 // 16 16 … … 154 154 //Find mutex arguments 155 155 Type* ty = arg->get_type(); 156 if( ! ty->get_ qualifiers().isMutex) continue;156 if( ! ty->get_mutex() ) continue; 157 157 158 158 //Append it to the list … … 175 175 176 176 //Make sure that typed isn't mutex 177 if( ! base->get_ qualifiers().isMutex) throw SemanticError( "mutex keyword may only appear once per argument ", arg );177 if( ! base->get_mutex() ) throw SemanticError( "mutex keyword may only appear once per argument ", arg ); 178 178 } 179 179
Note: See TracChangeset
for help on using the changeset viewer.