[cfe-dev] ParamDecls missing from function DeclContext
abramo.bagnara at gmail.com
Mon May 14 08:34:32 PDT 2012
I've just verified that:
1) anonymous parameters are not added to its function definition DeclContext
2) parameters are not added to its function declaration DeclContext
Are both 1 and 2 deliberate choices?
In other cases the fact that a declaration is named or anonymous is
irrelevant wrt its presence on its declaration context (and sincerely
this is what I'd expected).
In general if a declaration D has as its declaration context DC, it is a
legitimate expectation to have D listed in DC?
More information about the cfe-dev