Model typedefs as user-defined types

Typedefs are read in as user-defined types under the corresponding package or class in the model.

Typedef example 1

Consider a source file that contains the following typedef:

typedef unsigned char CHAR;

The resultant type will have the name CHAR and have the following form:

typedef unsigned char %s

Typedef example 2

Consider a source file that contains the following enumerated type:

typedef enum {GOOD, INVALID, SWAPPED}image_file_status;

The resultant type will have the name image_file_status and have the following form:

typedef enum {GOOD, INVALID, SWAPPED} %s

Feedback