how to determine a parameter has a type declarator in clang

I use clang to do some code analyse. And now i have a function below

void func(p)

some compilers will process p as an integer. And i want to know how to determine whether p has a type declarator ?

You can ask whether the function has a written prototype.

John.