LLVM 22.0.0git
llvm::sandboxir::Context::TypeDeleter Struct Reference

Type has a protected destructor to prohibit the user from managing the lifetime of the Type objects. More...

#include "llvm/SandboxIR/Context.h"

Public Member Functions

void operator() (Type *Ty)

Detailed Description

Type has a protected destructor to prohibit the user from managing the lifetime of the Type objects.

Context is friend of Type, and this custom deleter can destroy Type.

Definition at line 90 of file Context.h.

Member Function Documentation

◆ operator()()

void llvm::sandboxir::Context::TypeDeleter::operator() ( Type * Ty)
inline

Definition at line 91 of file Context.h.

References llvm::sandboxir::Context::Type.


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