[cfe-dev] Parameter check question

Tanya Lattner lattner at apple.com
Mon Oct 5 14:37:16 PDT 2009


Hello,

I want to do a check on function parameters similar to the  
"err_arg_with_address_space" check that I added in  
ActOnParamDeclarator (r83165). However, this time, I only want to  
perform the check if the function has a specific attribute. Is  
ActOnParamDeclarator the right place? I'm not seeing a way to get the  
function attribute there. Or, any suggestion on where to add this?

Thanks,
Tanya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20091005/47486665/attachment.html>


More information about the cfe-dev mailing list