Yes, i tried. But parameter promotion does not mean that. <br><div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ 原始邮件 ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "Nikola Smiljanic"<popizdeh@gmail.com>;</div><div><b>发送时间:</b> 2013年1月3日(星期四) 上午6:51</div><div><b>收件人:</b> "kevinlynx"<kevinlynx@gmail.com>; <wbr></div><div><b>抄送:</b> "cfe-dev"<cfe-dev@cs.uiuc.edu>; <wbr></div><div><b>主题:</b> Re: 回复: [cfe-dev] how to determine a parameter has a type declarator in clang</div></div><div><br></div>There seem's to be an easier way, have you tried isKNRPromoted from ParmVarDecl?<br><br>On Wed, Jan 2, 2013 at 11:31 PM, kevinlynx <kevinlynx@gmail.com> wrote:<br>><br>> but how to get a DeclaratorChunk in my codes ?<br>><br>><br></div>