Searched defs:StructVisitor (Results 1 – 3 of 3) sorted by relevance
36 template <class Derived> struct StructVisitor { struct37 StructVisitor(ASTContext &Ctx) : Ctx(Ctx) {} in StructVisitor() function40 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()[all …]
138 class StructVisitor(EmitVisitor): class
167 class StructVisitor(EmitVisitor): class