Lines Matching defs:StructVisitor
36 template <class Derived> struct StructVisitor { struct
37 StructVisitor(ASTContext &Ctx) : Ctx(Ctx) {} in StructVisitor() argument
40 void visitStructFields(QualType QT, CharUnits CurStructOffset, Ts... Args) { in visitStructFields()
53 template <class... Ts> void visitTrivial(Ts... Args) {} in visitTrivial()
55 template <class... Ts> void visitCXXDestructor(Ts... Args) { in visitCXXDestructor()
59 template <class... Ts> void flushTrivialFields(Ts... Args) {} in flushTrivialFields()
61 uint64_t getFieldOffsetInBits(const FieldDecl *FD) { in getFieldOffsetInBits()
67 CharUnits getFieldOffset(const FieldDecl *FD) { in getFieldOffset()
71 Derived &asDerived() { return static_cast<Derived &>(*this); } in asDerived()
73 ASTContext &getContext() { return Ctx; } in getContext()
74 ASTContext &Ctx;