[cfe-dev] which class represent variable scope ?

John McCall rjmccall at apple.com
Fri Jan 11 01:14:13 PST 2013


On Jan 11, 2013, at 12:31 AM, kevinlynx <kevinlynx at gmail.com> wrote:
> You mean I cann't get scope information right now ?   

It's not just a matter of asking the decl for its scope, no.  We'd have to have some language-specific code which walked over the AST and kept track of the current scope.

John.



More information about the cfe-dev mailing list