Lines Matching defs:dtorKind
2111 QualType::DestructionKind dtorKind) {
2112 assert(dtorKind != QualType::DK_none);
2124 switch (dtorKind) {
2167 if (!destroyer) destroyer = getDestroyer(dtorKind);
2189 if (QualType::DestructionKind dtorKind = D.needsDestruction(getContext()))
2190 emitAutoVarTypeCleanup(emission, dtorKind);
2241 void CodeGenFunction::pushEHDestroy(QualType::DestructionKind dtorKind,
2243 assert(dtorKind && "cannot push destructor for trivial type");
2244 assert(needsEHCleanup(dtorKind));
2246 pushDestroy(EHCleanup, addr, type, getDestroyer(dtorKind), true);
2251 void CodeGenFunction::pushDestroy(QualType::DestructionKind dtorKind,
2253 assert(dtorKind && "cannot push destructor for trivial type");
2255 CleanupKind cleanupKind = getCleanupKind(dtorKind);
2256 pushDestroy(cleanupKind, addr, type, getDestroyer(dtorKind),
2270 QualType::DestructionKind dtorKind, Address addr, QualType type) {
2271 assert(dtorKind && "cannot push destructor for trivial type");
2273 CleanupKind cleanupKind = getCleanupKind(dtorKind);
2275 cleanupKind, addr, type, getDestroyer(dtorKind), cleanupKind & EHCleanup);