Changeset a5e2786f
- Timestamp:
- Dec 22, 2024, 4:48:31 PM (9 months ago)
- Branches:
- master
- Children:
- 43299af
- Parents:
- 5a02308 (diff), 28c2c9d5 (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. - Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/Makefile.am
r5a02308 ra5e2786f 174 174 echo "array,attributes,empty,expression,io,monitor,operators,typeof" > $@ 175 175 +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-array.make >> $@ 176 echo "0," >> $@ 177 # +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-attributes.make >> $@ 176 +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-attributes.make >> $@ 178 177 +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-empty.make >> $@ 179 178 +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-expression.make >> $@ -
src/GenPoly/Specialize.cpp
r5a02308 ra5e2786f 300 300 } ), 301 301 map_range<DWTVector>( newType->params, [&location, ¶mNamer]( const ast::Type * type ) { 302 return new ast::ObjectDecl( location, paramNamer.newName(), ast::deepCopy( type ) ); 302 auto param = new ast::ObjectDecl( location, paramNamer.newName(), ast::deepCopy( type ) ); 303 param->attributes.push_back( new ast::Attribute( "unused" ) ); 304 return param; 303 305 } ), 304 306 map_range<DWTVector>( newType->returns, [&location, ¶mNamer]( const ast::Type * type ) { -
src/InitTweak/FixInit.cpp
r5a02308 ra5e2786f 70 70 ast::Linkage::Cforall 71 71 ); 72 dstParam->attributes.push_back( new ast::Attribute( "unused" ) ); 72 73 return new ast::FunctionDecl( loc, 73 74 fname, -
tests/Makefile.am
r5a02308 ra5e2786f 52 52 WFLGAS_OPT_LAX = \ 53 53 alloc \ 54 alloc2 \55 54 array \ 56 array-collections/array-raii-c \57 array-collections/array-raii-cfa \58 55 array-collections/boxed \ 59 56 array-collections/boxed% \ … … 98 95 concurrency/examples/boundedBufferEXT \ 99 96 concurrency/examples/boundedBufferINT \ 100 concurrency/futures/abandon \101 97 concurrency/futures/multi \ 102 98 concurrency/futures/select_future \ … … 179 175 function-operator \ 180 176 gmp \ 181 heap \182 177 identFuncDeclarator \ 183 178 identParamDeclarator \ -
tests/array-collections/array-raii.hfa
r5a02308 ra5e2786f 59 59 } 60 60 } 61 #pragma GCC diagnostic push 62 #pragma GCC diagnostic ignored "-Wuninitialized" 63 #pragma GCC diagnostic ignored "-Wmaybe-uninitialized" 61 64 void case1() { 62 65 ADECL1(x, float, 5) … … 68 71 checkzero(x[0].f, x[1].f, x[2].f, x[3].f, x[4].f); 69 72 } 73 #pragma GCC diagnostic pop 70 74 71 75 writeJunkOnStack(5); -
tests/nowarn/unused.cfa
r5a02308 ra5e2786f 17 17 enum () foo_t { foo }; 18 18 19 // on empty tuple, __cleanup_dtor takes zero actions on its param and 20 // _thunk's purpose is to ignore its param 21 forall( Args... | { void foo( Args ); } ) 22 void wrap( Args ) {} 23 void foo() {} 24 void callWrap() { 25 wrap(); 26 } 27 19 28 20 29 int main() {
Note:
See TracChangeset
for help on using the changeset viewer.