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 :slight_smile: