[cfe-dev] Distinguish between array parameters and pointer parameters in the AST.

Chris Lattner clattner at apple.com
Fri Feb 20 09:01:37 PST 2009


On Feb 20, 2009, at 8:26 AM, Paolo Bolzoni wrote:

> dear cfe list,
>
> According to the clang AST the two parameters' type of this function
> declaration are the same:
>
> int f(int a[], int* b);
>
> while it makes sense, I'd like to distinguish.
> Is it not possible?

This isn't possible at this time.

-Chris



More information about the cfe-dev mailing list