add pet_id_ret_from_type
commite4f78ddf16ae1700ad7d95d04b1ac14b5899776d
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 7 Mar 2017 14:19:30 +0000 (7 15:19 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 9 Mar 2017 09:41:44 +0000 (9 10:41 +0100)
tree44ed7f766e6245232fcef8f2f87c827502ef7591
parentf8cc0051fb2fb01cf4e5b3298ca98e655a64aba3
add pet_id_ret_from_type

This is similar to pet_id_arg_from_type added in 5830e80 (add
pet_id_arg_from_type, Tue Aug 11 17:53:17 2015 +0200).
Like pet_id_arg_from_type, the returned identifier does not have
an associated ValueDecl.  Only the naming is different.

This type of identifier will be used to represent
the return value of inlined functions with return statements.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
id.cc
id.h