Lines Matching refs:asDerived
47 asDerived().visit(FT, FD, CurStructOffset, Args...); in visitStructFields()
50 asDerived().flushTrivialFields(Args...); in visitStructFields()
71 Derived &asDerived() { return static_cast<Derived &>(*this); } in asDerived() function
80 using StructVisitor<Derived>::asDerived;
89 asDerived().flushTrivialFields(std::forward<Ts>(Args)...); in preVisit()
96 if (const auto *AT = asDerived().getContext().getAsArrayType(FT)) { in visitWithKind()
97 asDerived().visitArray(PCK, AT, FT.isVolatileQualified(), FD, in visitWithKind()
110 ASTContext &Ctx = asDerived().getContext(); in visitTrivial()
117 uint64_t FStartInBits = asDerived().getFieldOffsetInBits(FD); in visitTrivial()
164 CharUnits FieldOffset = CurStructOffset + asDerived().getFieldOffset(FD); in visitARCStrong()
171 CharUnits FieldOffset = CurStructOffset + asDerived().getFieldOffset(FD); in visitARCWeak()
177 CharUnits FieldOffset = CurStructOffset + asDerived().getFieldOffset(FD); in visitStruct()
179 asDerived().visitStructFields(QT, FieldOffset); in visitStruct()
188 return asDerived().visitTrivial(QualType(AT, 0), FD, CurStructOffset); in visitArray()
190 asDerived().flushTrivialFields(); in visitArray()
191 CharUnits FieldOffset = CurStructOffset + asDerived().getFieldOffset(FD); in visitArray()
192 ASTContext &Ctx = asDerived().getContext(); in visitArray()
201 asDerived().visitWithKind(FK, EltTy, nullptr, FieldOffset); in visitArray()
209 asDerived().visitStructFields(QT, CharUnits::Zero()); in getName()
213 Derived &asDerived() { return static_cast<Derived &>(*this); } in asDerived() function
340 this->asDerived().callSpecialFunction( in visitStruct()
341 FT, CurStructOffset + asDerived().getFieldOffset(FD), Addrs); in visitStruct()
350 return asDerived().visitTrivial(QualType(AT, 0), FD, CurStructOffset, in visitArray()
353 asDerived().flushTrivialFields(Addrs); in visitArray()
407 this->asDerived().visitWithKind(FK, EltQT, nullptr, CharUnits::Zero(), in visitArray()
437 asDerived().getFieldOffset(FD)); in getAddrWithOffset()
485 asDerived().visitStructFields(QT, CharUnits::Zero(), Addrs); in getFunction()
508 Derived &asDerived() { return static_cast<Derived &>(*this); } in asDerived() function