[cfe-dev] Variable declaration location

Ridwan Shariffdeen via cfe-dev cfe-dev at lists.llvm.org
Wed Jul 25 00:27:03 PDT 2018


Hi,

I am trying to get the location of the variable declaration from
a DeclRefExpr.
Is there a way I can achieve this? There doesn't seem to be any
relationship with DeclRefExpr and the actual VarDecl.

Any help is appreciated.

Best
Ridwan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180725/c62948af/attachment.html>


More information about the cfe-dev mailing list