llvm::objcarc::getAttachedARCFunction

Return the ARC runtime function from a clang_arc_attachedcall bundle.

Synopsis

Declared in <llvm/Analysis/ObjCARCUtil.h>

std::optional<Function*>
getAttachedARCFunction(CallBase const* CB);

Description

This is the address of the ARC runtime function passed as the operand bundle's argument.

Return Value

The attached ARC runtime function, or std::nullopt if none.

Parameters

NameDescription
CBCall whose attached-call operand bundle is queried.