Searched refs:asDerived (Results 1 – 6 of 6) sorted by relevance
/external/llvm-project/clang/include/clang/AST/ |
D | NonTrivialTypeVisitor.h | 23 return asDerived().visitWithKind(FT.isDestructedType(), FT, in visit() 32 return asDerived().visitARCStrong(FT, std::forward<Ts>(Args)...); in visitWithKind() 34 return asDerived().visitStruct(FT, std::forward<Ts>(Args)...); in visitWithKind() 36 return asDerived().visitTrivial(FT, std::forward<Ts>(Args)...); in visitWithKind() 38 return asDerived().visitCXXDestructor(FT, std::forward<Ts>(Args)...); in visitWithKind() 40 return asDerived().visitARCWeak(FT, std::forward<Ts>(Args)...); in visitWithKind() 46 Derived &asDerived() { return static_cast<Derived &>(*this); } in asDerived() function 52 return asDerived().visitWithKind( in visit() 62 return asDerived().visitARCStrong(FT, std::forward<Ts>(Args)...); in visitWithKind() 64 return asDerived().visitARCWeak(FT, std::forward<Ts>(Args)...); in visitWithKind() [all …]
|
D | TypeLoc.h | 364 const Derived *asDerived() const { in asDerived() function 380 asDerived()->getExtraLocalDataAlignment()); in getLocalDataAlignment() 385 unsigned extraAlign = asDerived()->getExtraLocalDataAlignment(); in getLocalDataSize() 387 size += asDerived()->getExtraLocalDataSize(); in getLocalDataSize() 393 if (asDerived()->getLocalDataSize() == 0) return; in copyLocal() 402 asDerived()->getExtraLocalDataSize()); in copyLocal() 406 return getNextTypeLoc(asDerived()->getInnerType()); in getNextTypeLoc() 431 unsigned extraAlign = asDerived()->getExtraLocalDataAlignment(); in getExtraLocalData() 438 data += asDerived()->getLocalDataSize(); in getNonLocalData() 447 return TypeLoc(asDerived()->getInnerType(), getNonLocalData()); in getInnerTypeLoc() [all …]
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGNonTrivialStruct.cpp | 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() [all …]
|
/external/clang/include/clang/AST/ |
D | TypeLoc.h | 334 const Derived *asDerived() const { in asDerived() function 351 asDerived()->getExtraLocalDataAlignment()); in getLocalDataAlignment() 355 unsigned extraAlign = asDerived()->getExtraLocalDataAlignment(); in getLocalDataSize() 357 size += asDerived()->getExtraLocalDataSize(); in getLocalDataSize() 363 if (asDerived()->getLocalDataSize() == 0) return; in copyLocal() 372 asDerived()->getExtraLocalDataSize()); in copyLocal() 376 return getNextTypeLoc(asDerived()->getInnerType()); in getNextTypeLoc() 401 unsigned extraAlign = asDerived()->getExtraLocalDataAlignment(); in getExtraLocalData() 408 data += asDerived()->getLocalDataSize(); in getNonLocalData() 417 return TypeLoc(asDerived()->getInnerType(), getNonLocalData()); in getInnerTypeLoc() [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaDecl.cpp | 11765 return this->asDerived().visit(S.Context.getBaseElementType(AT), FD, in visitWithKind() 11804 asDerived().visit(FD->getType(), FD, InNonTrivialUnion); in visitStruct() 11830 return this->asDerived().visit(S.Context.getBaseElementType(AT), FD, in visitWithKind() 11869 asDerived().visit(FD->getType(), FD, InNonTrivialUnion); in visitStruct() 11896 return this->asDerived().visit(S.Context.getBaseElementType(AT), FD, in visitWithKind() 11935 asDerived().visit(FD->getType(), FD, InNonTrivialUnion); in visitStruct()
|
D | SemaChecking.cpp | 9677 if (const auto *AT = asDerived().getContext().getAsArrayType(FT)) { in visitWithKind() 9678 asDerived().visitArray(PDIK, AT, SL); in visitWithKind() 9719 if (const auto *AT = asDerived().getContext().getAsArrayType(FT)) { in visitWithKind() 9720 asDerived().visitArray(PCK, AT, SL); in visitWithKind()
|