Community
Participate
Working Groups
C99 ISO/IEC 9899: 6.7.5.3.2 supports the 'register' keyword for function parameters while ISO/IEC 14882:2003 7.1.1.2 supports 'register' and 'auto' keywords for function parameters (both in addition to objects in block scope) Despite being recognized in the ast, these don't make it to the pdom db; the corresponding methods throw a PDOMNotImplementedError Attached patch has a look at addressing this. Points to note: 1. chose to add extra byte to PDOMCPPParameter even though the FLAGS byte could have been reused; better for maintenance 2. fixed bugs in CParameter and CPPParameter hasStorageClass(1) where they'd find wrong declarator for param 3. change to PDOM.java pending until 1. is agreed upon
Created attachment 117262 [details] patch as described for isAuto, isRegister
Thanks, patch looks good. I'll correct PDOMCPPParameter.RECORD_SIZE.
I have applied the patch and updated the PDOM version, fixed in 6.0 > 20081111.