Global Var vs Local Var ?

QiangHuang qianghuang87@gmail.com
Tue Apr 1 10:55:00 GMT 2008


     I know that a variable declaration is represented as a VAR_DECL
node or some related nodes in AST.

     But how to distinct the XXX_DECL node is for a Global Var or not?

     Futhermore, is there any field or flag in the XXX_DECL node
structure that could be regarded as the distinction flag between
Global and Local Var



More information about the Gcc-help mailing list