llvm::objcarc::GetUnderlyingObjCPtr

Return the underlying ObjC object pointer for V.

Synopsis

Declared in <llvm/Analysis/ObjCARCAnalysisUtils.h>

Value const*
GetUnderlyingObjCPtr(Value const* V);

Description

This is a wrapper around getUnderlyingObject which also knows how to look through objc_retain and objc_autorelease calls, which we know to return their argument verbatim.

Return Value

The underlying ObjC object pointer for V.

Parameters

NameDescription
VValue whose underlying ObjC pointer is requested.