llvm::objcarc::getAttachedARCFunctionKind

Return the ARCInstKind of the function on clang_arc_attachedcall.

Synopsis

Declared in <llvm/Analysis/ObjCARCUtil.h>

ARCInstKind
getAttachedARCFunctionKind(CallBase const* CB);

Description

Returns ARCInstKind::None if the call doesn't have the operand bundle or the operand is null. Otherwise it returns either RetainRV or UnsafeClaimRV.

Return Value

The ARCInstKind of the attached ARC function, or ARCInstKind::None.

Parameters

NameDescription
CBCall whose attached ARC function kind is queried.