Lines Matching refs:ClassDecl
225 bool Sema::inferCUDATargetForImplicitSpecialMember(CXXRecordDecl *ClassDecl, in inferCUDATargetForImplicitSpecialMember() argument
240 for (const auto &B : ClassDecl->bases()) { in inferCUDATargetForImplicitSpecialMember()
246 if (!ClassDecl->isAbstract()) { in inferCUDATargetForImplicitSpecialMember()
247 for (const auto &VB : ClassDecl->vbases()) { in inferCUDATargetForImplicitSpecialMember()
280 Diag(ClassDecl->getLocation(), in inferCUDATargetForImplicitSpecialMember()
291 for (const auto *F : ClassDecl->fields()) { in inferCUDATargetForImplicitSpecialMember()
325 Diag(ClassDecl->getLocation(), in inferCUDATargetForImplicitSpecialMember()
409 const CXXRecordDecl *ClassDecl = DD->getParent(); in isEmptyCudaDestructor() local
412 if (ClassDecl->isDynamicClass()) in isEmptyCudaDestructor()
417 if (!llvm::all_of(ClassDecl->bases(), [&](const CXXBaseSpecifier &BS) { in isEmptyCudaDestructor()
425 if (!llvm::all_of(ClassDecl->fields(), [&](const FieldDecl *Field) { in isEmptyCudaDestructor()