eolian: Imply @no_unused if @move in return.
authorLauro Moura <lauromoura@expertisesolutions.com.br>
Tue, 5 Nov 2019 14:59:46 +0000 (11:59 -0300)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 11 Nov 2019 02:20:42 +0000 (11:20 +0900)
commitb809470d41fe1e428ec27a0821a004fcbc5832ed
treeb30672a1e5712c23013f224fedf5ea63ed8f5764
parent893be1b64cd65959fc767b9d2321e5a753c000f6
eolian: Imply @no_unused if @move in return.

Summary:
This makes sure the user is warned if it ignores a return value that
could potentially be a memory leak.

This also makes possible to use `value {}` blocks with `@move` instead
of value-less properties with `@no_unused`.

Also removed the `@move` from canvas_text_async_layout as it is ignored
in the only place it is used.

Reviewers: q66

Reviewed By: q66

Subscribers: #reviewers, #committers, bu5hm4n, felipealmeida, cedric, segfaultxavi

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10601
src/bin/eolian/headers.c
src/lib/evas/canvas/efl_canvas_text.eo
src/tests/efl_mono/dummy_test_object.c
src/tests/eolian/data/function_as_argument_ref.h
src/tests/eolian/data/struct_ref.h
src/tests/eolian/data/typedef_ref.h