Typed tracking MDNode reference that avoids needing the parameter type defined.

Synopsis

Declared in <llvm/IR/DebugProgramInstruction.h>

template<typename T>
class DbgRecordParamRef;

Description

Necessary to avoid including DebugInfoMetadata.h, which has a significant impact on compile times if included in this file.

Member Functions

Name

Description

DbgRecordParamRef [constructor]

Constructors

get

Get the underlying type.

getAsMDNode

Return this as a MDNode.

operator*

Dereference the wrapped debug‐metadata node.

operator‐>

Access members of the referenced debug‐metadata node.

operator T*

Convert to a typed pointer to the referenced debug‐metadata node.

operator bool

Check for null.

operator==

Return true if both references track the same metadata node.

operator!=

Return true if the referenced metadata nodes differ.

Created with MrDocs