[cfe-dev] Unusual cast kinds

Dmitri Gribenko gribozavr at gmail.com
Sat Jan 5 06:09:31 PST 2013


On Sat, Jan 5, 2013 at 12:24 PM, Kim Gräsman <kim.grasman at gmail.com> wrote:
> Hi all,
>
> In IWYU [1], we traverse the AST trying to deduce if the use of a
> symbol requires a full declaration or if a forward declaration is
> sufficient.
>
> One of the things we're looking at are cast-expressions, and there are
> two kinds we currently don't cover:
>
>  CK_BuiltinFnToFnPtr

Take a look at diff for r162962, which added it.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/




More information about the cfe-dev mailing list