回复: how to determine a parameter has a type declarator in clang

but how to get a DeclaratorChunk in my codes ?

There seem's to be an easier way, have you tried isKNRPromoted from ParmVarDecl?