Lines Matching refs:addAttr
351 MemberDecl->addAttr(CUDAInvalidTargetAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember()
396 MemberDecl->addAttr(CUDAInvalidTargetAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember()
416 MemberDecl->addAttr(CUDADeviceAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember()
418 MemberDecl->addAttr(CUDAHostAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember()
591 NewD->addAttr(CUDAHostAttr::CreateImplicit(Context)); in maybeAddCUDAHostDeviceAttrs()
593 NewD->addAttr(CUDADeviceAttr::CreateImplicit(Context)); in maybeAddCUDAHostDeviceAttrs()
630 NewD->addAttr(CUDAHostAttr::CreateImplicit(Context)); in maybeAddCUDAHostDeviceAttrs()
631 NewD->addAttr(CUDADeviceAttr::CreateImplicit(Context)); in maybeAddCUDAHostDeviceAttrs()
637 VD->addAttr(CUDAConstantAttr::CreateImplicit(getASTContext())); in MaybeAddCUDAConstantAttr()
806 Method->addAttr(CUDADeviceAttr::CreateImplicit(Context)); in CUDASetLambdaAttrs()
807 Method->addAttr(CUDAHostAttr::CreateImplicit(Context)); in CUDASetLambdaAttrs()
845 FD->addAttr(Clone); in copyAttrIfPresent()