clang 22.0.0git
clang::LazyDetector< T > Class Template Reference

Simple wrapper for toolchain detector with costly initialization. More...

#include "clang/Driver/LazyDetector.h"

Inheritance diagram for clang::LazyDetector< T >:
[legend]

Public Member Functions

 LazyDetector (const driver::Driver &D, const llvm::Triple &Triple, const llvm::opt::ArgList &Args)
Toperator-> ()
const Toperator-> () const

Detailed Description

template<class T>
class clang::LazyDetector< T >

Simple wrapper for toolchain detector with costly initialization.

This delays the creation of the actual detector until its first usage.

Definition at line 21 of file LazyDetector.h.

Constructor & Destructor Documentation

◆ LazyDetector()

template<class T>
clang::LazyDetector< T >::LazyDetector ( const driver::Driver & D,
const llvm::Triple & Triple,
const llvm::opt::ArgList & Args )
inline

Definition at line 29 of file LazyDetector.h.

Referenced by operator->().

Member Function Documentation

◆ operator->() [1/2]

template<class T>
T * clang::LazyDetector< T >::operator-> ( )
inline

Definition at line 32 of file LazyDetector.h.

References clang::T.

◆ operator->() [2/2]

template<class T>
const T * clang::LazyDetector< T >::operator-> ( ) const
inline

Definition at line 37 of file LazyDetector.h.

References LazyDetector(), and clang::T.


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