llvm::objcarc::hasAttachedCallOpBundle

Return true if CB has a clang_arc_attachedcall operand bundle.

Synopsis

Declared in <llvm/Analysis/ObjCARCUtil.h>

bool
hasAttachedCallOpBundle(CallBase const* CB);

Description

Ignores the bundle when the call's return type is void, which can happen after global optimization turns the callee's return type to void.

Return Value

True if CB has a non-void clang_arc_attachedcall bundle.

Parameters

NameDescription
CBCall to inspect for the attached-call operand bundle.