llvm::TypedTrackingMDRef

Typed tracking ref.

Synopsis

Declared in <llvm/IR/TrackingMDRef.h>

template<class T>
class TypedTrackingMDRef;

Description

Track refererences of a particular type. It's useful to use this for MDNode and ValueAsMetadata.

Member Functions

NameDescription
TypedTrackingMDRef [constructor]Constructors
operator= Assignment operators
get Return the tracked typed metadata pointer, or null if none.
operator* Return a reference to the tracked typed metadata.
operator-> Return a pointer to the tracked typed metadata.
reset reset overloads
operator T* Implicit conversion to a typed metadata pointer.
operator== Return true if both refs track the same metadata pointer.
operator!= Return true if the refs track different metadata pointers.