Changeset e0330d2c
- Timestamp:
- Dec 18, 2024, 6:37:11 PM (5 weeks ago)
- Branches:
- master
- Children:
- e0f3bd2
- Parents:
- faf9e19
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cpp
rfaf9e19 re0330d2c 742 742 extension( expr ); 743 743 const OperatorInfo * opInfo; 744 if ( dynamic_cast<ast::ZeroType const *>( expr->var->get_type() ) ) { 745 output << "0"; 746 } else if ( expr->var->linkage == ast::Linkage::Intrinsic 744 if ( expr->var->linkage == ast::Linkage::Intrinsic 747 745 && ( opInfo = operatorLookup( expr->var->name ) ) 748 746 && opInfo->type == OT_CONSTANT ) { -
tests/Makefile.am
rfaf9e19 re0330d2c 50 50 # Indented list entries are finer-grained targets under the test. 51 51 # Making this association implicit would be ideal, but requires learning more automake than is affordable. 52 WFLGAS_OPT_LAX = \52 WFLGAS_OPT_LAX = \ 53 53 abs \ 54 54 alloc \ 55 55 alloc2 \ 56 56 array \ 57 array-collections/array-basic \58 57 array-collections/array-raii-c \ 59 58 array-collections/array-raii-cfa \ … … 188 187 ctrl-flow/ifwhileCtl \ 189 188 ctrl-flow/labelledExit \ 190 ctrl-flow/loopctrl \191 189 ctrl-flow/loop_else \ 192 190 designations \ … … 306 304 variableDeclarator \ 307 305 vector \ 308 vector_math/vec2_int \ 309 vector_math/vec2_float \ 310 vector_math/vec3_float \ 311 vector_math/vec4_float \ 312 warnings/self-assignment \ 313 zero_one 306 warnings/self-assignment 314 307 315 308 WFLAGS=${if ${filter ${WFLGAS_OPT_LAX},${@}},${WFLAGS_LAX},${WFLAGS_STRICT}} -
tests/array-collections/array-basic.cfa
rfaf9e19 re0330d2c 12 12 // numeric subscripts 13 13 ptrdiff_t ix = 1, iy = 2, iz = 3; 14 array( float, Ny, Nz ) & yz = xyz[ix]; 15 array( float, Nz ) & z = xyz[ix][iy]; 16 float & val = xyz[ix][iy][iz]; 14 array( float, Ny, Nz ) & yz = xyz[ix]; (void) yz; 15 array( float, Nz ) & z = xyz[ix][iy]; (void) z; 16 float & val = xyz[ix][iy][iz]; (void) val; 17 17 18 18 // deferral subscript
Note: See TracChangeset
for help on using the changeset viewer.