[cfe-dev] Def/Use

Hervé Yviquel via cfe-dev cfe-dev at lists.llvm.org
Tue Sep 15 09:57:33 PDT 2015

Hi all,

I need to know if a DeclRefExpr is a use or a def while visiting the AST at Clang level (i.e. before generating the LLVM IR).
I found an old discussion on the list about making an analysis to build the use-def chain but it seems to never have been commited to the trunk. 

Anyone would have an idea? Any help would be very appreciated :-)


More information about the cfe-dev mailing list