Worked great! Many thanks!
Robert
On Tue, Dec 3, 2019 at 10:43 AM David Blaikie wrote:
> I'd guess you'd call "getDecl" to get the decl the DeclRefExpr is
> referencing, then dyn_cast that (the decl is a ValueDecl*) to VarDecl to
> see if it's a variable that's being referenced (could be a fun
I'd guess you'd call "getDecl" to get the decl the DeclRefExpr is
referencing, then dyn_cast that (the decl is a ValueDecl*) to VarDecl to
see if it's a variable that's being referenced (could be a function, etc,
etc) then do whatever you want to do with that VarDecl.
On Tue, Dec 3, 2019 at 1:33 P