Skip to content

Perform array to pointer adjustment in function parameters.

Ghost User requested to merge (removed):array-to-pointer-adjustment into master

A declaration of a parameter as "array of type" shall be adjusted to "qualified pointer to type". This change performs this adjustment.

For example, this makes parameters of following functions equivalent:

void f1(const char s[]);
void f2(const char s[10]);
void f3(const char *s);

Fixes issue #189 (closed).

Merge request reports