clang 18.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)
 
T * operator-> ()
 
const T * operator-> () 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.

Member Function Documentation

◆ operator->() [1/2]

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

Definition at line 32 of file LazyDetector.h.

◆ operator->() [2/2]

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

Definition at line 37 of file LazyDetector.h.


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