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