Use typedef name if function declared in typedef

Check 18a: "If the type was done using a typedef, simply use the typedef name. "
And for check19
 foo(z, z);     //array names are not modifiable Lval for pass-by-reference and don't need this anyway