scan.cc: add_type: extract out add_field_types
commita0f511bfbc55d1e7dbf4e295b8e63a5f42fc8749
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 31 Jan 2015 16:04:59 +0000 (31 17:04 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 4 Feb 2015 12:00:31 +0000 (4 13:00 +0100)
tree26a71b22b22c0a8122e375b6bf8a5f706adf9a33
parentae43cbecf73a52b9db59286cb05217a5e146a070
scan.cc: add_type: extract out add_field_types

We will be able to reuse this function when we start keeping
track of typedefs.

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