clang 20.0.0git
Public Member Functions | List of all members
clang::LazyDetector< T > Class Template Reference

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

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Driver/ToolChains/LazyDetector.h"

Inheritance diagram for clang::LazyDetector< T >:
Inheritance graph
[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.

References D.

Member Function Documentation

◆ operator->() [1/2]

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

Definition at line 32 of file LazyDetector.h.

References D.

◆ operator->() [2/2]

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

Definition at line 37 of file LazyDetector.h.

References clang::T.


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