Changeset ecd4923
- Timestamp:
- Dec 18, 2017, 2:55:52 PM (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:
- 103b264
- Parents:
- 46dfe66
- Location:
- src/ResolvExpr
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/CommonType.cc
r46dfe66 recd4923 188 188 } 189 189 190 void CommonType::visit( __attribute((unused)) VoidType *voidType) {}190 void CommonType::visit( VoidType * ) {} 191 191 192 192 void CommonType::visit( BasicType *basicType ) { … … 254 254 } 255 255 256 void CommonType::visit( __attribute((unused)) ArrayType *arrayType) {}256 void CommonType::visit( ArrayType * ) {} 257 257 258 258 void CommonType::visit( ReferenceType *refType ) { … … 291 291 } 292 292 293 void CommonType::visit( __attribute((unused)) FunctionType *functionType) {}294 void CommonType::visit( __attribute((unused)) StructInstType *aggregateUseType) {}295 void CommonType::visit( __attribute((unused)) UnionInstType *aggregateUseType) {}293 void CommonType::visit( FunctionType * ) {} 294 void CommonType::visit( StructInstType * ) {} 295 void CommonType::visit( UnionInstType * ) {} 296 296 297 297 void CommonType::visit( EnumInstType *enumInstType ) { … … 304 304 } 305 305 306 void CommonType::visit( __attribute((unused)) TraitInstType *aggregateUseType) {306 void CommonType::visit( TraitInstType * ) { 307 307 } 308 308 … … 329 329 } 330 330 331 void CommonType::visit( __attribute((unused)) TupleType *tupleType) {}332 void CommonType::visit( __attribute((unused)) VarArgsType *varArgsType) {}331 void CommonType::visit( TupleType * ) {} 332 void CommonType::visit( VarArgsType * ) {} 333 333 334 334 void CommonType::visit( ZeroType *zeroType ) { -
src/ResolvExpr/ConversionCost.cc
r46dfe66 recd4923 257 257 }; 258 258 259 void ConversionCost::visit( __attribute((unused)) VoidType *voidType) {259 void ConversionCost::visit( VoidType * ) { 260 260 cost = Cost::infinity; 261 261 } -
src/ResolvExpr/PtrsAssignable.cc
r46dfe66 recd4923 67 67 PtrsAssignable::PtrsAssignable( Type *dest, const TypeEnvironment &env ) : dest( dest ), result( 0 ), env( env ) {} 68 68 69 void PtrsAssignable::visit( __attribute((unused)) VoidType *voidType) {69 void PtrsAssignable::visit( VoidType * ) { 70 70 // T * = void * is disallowed - this is a change from C, where any 71 71 // void * can be assigned or passed to a non-void pointer without a cast.
Note: See TracChangeset
for help on using the changeset viewer.