LLVM 20.0.0git
Public Types | Public Member Functions | Friends | List of all members
llvm::TargetRegistry::iterator Class Reference

#include "llvm/MC/TargetRegistry.h"

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = Target
 
using difference_type = std::ptrdiff_t
 
using pointer = value_type *
 
using reference = value_type &
 

Public Member Functions

 iterator ()=default
 
bool operator== (const iterator &x) const
 
bool operator!= (const iterator &x) const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
const Targetoperator* () const
 
const Targetoperator-> () const
 

Friends

struct TargetRegistry
 

Detailed Description

Definition at line 648 of file TargetRegistry.h.

Member Typedef Documentation

◆ difference_type

Definition at line 658 of file TargetRegistry.h.

◆ iterator_category

using llvm::TargetRegistry::iterator::iterator_category = std::forward_iterator_tag

Definition at line 656 of file TargetRegistry.h.

◆ pointer

Definition at line 659 of file TargetRegistry.h.

◆ reference

Definition at line 660 of file TargetRegistry.h.

◆ value_type

Definition at line 657 of file TargetRegistry.h.

Constructor & Destructor Documentation

◆ iterator()

llvm::TargetRegistry::iterator::iterator ( )
default

Member Function Documentation

◆ operator!=()

bool llvm::TargetRegistry::iterator::operator!= ( const iterator x) const
inline

Definition at line 665 of file TargetRegistry.h.

References operator==().

◆ operator*()

const Target & llvm::TargetRegistry::iterator::operator* ( ) const
inline

Definition at line 679 of file TargetRegistry.h.

References assert().

Referenced by operator->().

◆ operator++() [1/2]

iterator & llvm::TargetRegistry::iterator::operator++ ( )
inline

Definition at line 668 of file TargetRegistry.h.

References assert(), and llvm::Target::getNext().

◆ operator++() [2/2]

iterator llvm::TargetRegistry::iterator::operator++ ( int  )
inline

Definition at line 673 of file TargetRegistry.h.

◆ operator->()

const Target * llvm::TargetRegistry::iterator::operator-> ( ) const
inline

Definition at line 684 of file TargetRegistry.h.

References operator*().

◆ operator==()

bool llvm::TargetRegistry::iterator::operator== ( const iterator x) const
inline

Definition at line 664 of file TargetRegistry.h.

Referenced by operator!=().

Friends And Related Function Documentation

◆ TargetRegistry

friend struct TargetRegistry
friend

Definition at line 649 of file TargetRegistry.h.


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