Hi, Charles

> +  ValueDecl* VD = dyn_cast<ValueDecl>(D);
You either need a check of NULL here, or use cast<>

> +  if(VD->getType()->isFunctionPointerType())
Space after "if"

> +  if(!isa<FunctionDecl>(D)) {
Same here

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to