Hello everyone,<div><br></div><div>I'm writting some code for visiting variable, struct, ... declarations (I'm using C Language). For that, my class derives from DeclVisitor. My goal is to determine the scope of each variable at its declaration (ie inside the VisitVarDecl method). The method getSourceRangeonly of VarDecl only returns the range of the declaration in terms of caracters, not the real scope. Is there method for getting the VarDecl scope ?</div>
<div><br></div><div>Thanks by advance,</div><div><br></div><div>Nicolas</div>