C functions may be declared and defined in different prototypes like below. This patch unifies the checks for mangling names in symbol linkage name emission and debug linkage name emission so that the two names are consistent.
static int go(int); static int go(a) int a; { return a; }
Test Plan:
I'd probably roll this into the expression rather than adding another named variable - it doesn't seem to add much readability to me at least. Up to you.