LLVM 23.0.0git
llvm::detail::RegistryLinkListStorage< R > Struct Template Reference

The endpoint to the instance to hold registered components by a linked list. More...

#include "llvm/Support/Registry.h"

Public Attributes

R::node * Head
R::node * Tail

Detailed Description

template<typename R>
struct llvm::detail::RegistryLinkListStorage< R >

The endpoint to the instance to hold registered components by a linked list.

This is split out from Registry<T> to guard against absence of or error in an explicit instantiation, which causes an implicit instantiation. Such instantiation breaks dylib buils on Windows because a reference to a non dllimport-ed implicitly instantiated global variable can't be shared across a DLL boundary.

Definition at line 56 of file Registry.h.

Member Data Documentation

◆ Head

template<typename R>
R::node* llvm::detail::RegistryLinkListStorage< R >::Head

Definition at line 57 of file Registry.h.

◆ Tail

template<typename R>
R::node* llvm::detail::RegistryLinkListStorage< R >::Tail

Definition at line 58 of file Registry.h.


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