But i did not find any methods about `written` in ParamVarDecl, or QualType.<br><div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From: </b> "John McCall"<rjmccall@apple.com>;</div><div><b>Date: </b> Fri, Jan 4, 2013 09:56 AM</div><div><b>To: </b> "kevinlynx"<kevinlynx@gmail.com>; <wbr></div><div><b>Cc: </b> "cfe-dev"<cfe-dev@cs.uiuc.edu>; <wbr></div><div><b>Subject: </b> Re: [cfe-dev] how to determine a parameter has a type declaratorinclang</div></div><div><br></div>On Jan 3, 2013, at 5:36 PM, kevinlynx <kevinlynx@gmail.com> wrote:<br>> Thanks, it worked on 1 parameter function, but does not work on more than one parameters function, say,<br>> <br>>     void func(int a, b)<br>> <br>> `hasWrittenPrototype` still return true, and `b` will also get a default `int` type. <br><br>Oh, I see.  You need to look at the type as written of the ParmVarDecl.<br><br>John.<br></div>