Home
last modified time | relevance | path

Searched defs:StructVisitor (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/clang/lib/CodeGen/
DCGNonTrivialStruct.cpp36 template <class Derived> struct StructVisitor { struct
37 StructVisitor(ASTContext &Ctx) : Ctx(Ctx) {} in StructVisitor() function
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()
[all …]
/external/python/cpython2/Parser/
Dasdl_c.py138 class StructVisitor(EmitVisitor): class
/external/python/cpython3/Parser/
Dasdl_c.py167 class StructVisitor(EmitVisitor): class