remove_where_field.cocci 228 B

1234567891011121314151617181920
  1. @@
  2. identifier c;
  3. expression E;
  4. @@
  5. struct starpu_codelet c = {
  6. - .where = E
  7. };
  8. @@
  9. struct starpu_codelet cl;
  10. expression E;
  11. @@
  12. -cl.where = E;
  13. @@
  14. struct starpu_codelet* pointer_to_cl;
  15. expression E;
  16. @@
  17. - pointer_to_cl->where = E;