[cfe-dev] TreeTransform and Clang

Vassil Vassilev vasil.georgiev.vasilev at cern.ch
Fri Aug 6 06:00:22 PDT 2010


Hello,
  I need to transform the generated AST just before it is passed to the
Sema. I know that I have to use (inherit) the TreeTransform class but it
is difficult for me to find where to put the new transformation (I want
to preserve the architecture of LLVM). Where I can call the new
transformer so that it will be able to transform the tree before the
semantic analysis?
Best regards,
V. Vassilev





More information about the cfe-dev mailing list