virtual void HandleTranslationUnit(ASTContext &CXT) override { MangleContext *MC = CXT.createMangleContext(); InheritanceInfo inheritanceinfo; InheritanceInfo *II = &inheritanceinfo; DeclarationsVisitorContext DVC(MC, II); DeclarationsVisitor DV(MC, rootNode, nullptr, &DVC); Decl *D = CXT.getTranslationUnitDecl(); DV.TraverseDecl(D); }
Implementation(ASTContext &Ctx) : MC(Ctx.createMangleContext()), DL(Ctx.getTargetInfo().getDataLayoutString()) {}