LLVM 20.0.0git
Public Types | Public Member Functions | Static Public Attributes | Friends | List of all members
llvm::sandboxir::Context::CallbackID Class Reference

An ID for a registered callback. More...

#include "llvm/SandboxIR/Context.h"

Public Types

using ValTy = uint64_t
 

Public Member Functions

 CallbackID ()=default
 

Static Public Attributes

static constexpr const ValTy InvalidVal = 0
 

Friends

class Context
 
struct DenseMapInfo< CallbackID >
 

Detailed Description

An ID for a registered callback.

Used for deregistration. A dedicated type is employed so as to keep IDs opaque to the end user; only Context should deal with its underlying representation.

Definition at line 44 of file Context.h.

Member Typedef Documentation

◆ ValTy

Definition at line 48 of file Context.h.

Constructor & Destructor Documentation

◆ CallbackID()

llvm::sandboxir::Context::CallbackID::CallbackID ( )
default

Friends And Related Function Documentation

◆ Context

friend class Context
friend

Definition at line 60 of file Context.h.

◆ DenseMapInfo< CallbackID >

friend struct DenseMapInfo< CallbackID >
friend

Definition at line 60 of file Context.h.

Member Data Documentation

◆ InvalidVal

constexpr const ValTy llvm::sandboxir::Context::CallbackID::InvalidVal = 0
staticconstexpr

Definition at line 49 of file Context.h.


The documentation for this class was generated from the following file: