LLVM 19.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


struct TargetRegistry

Detailed Description

Definition at line 749 of file TargetRegistry.h.

Member Typedef Documentation

◆ difference_type

Definition at line 759 of file TargetRegistry.h.

◆ iterator_category

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

Definition at line 757 of file TargetRegistry.h.

◆ pointer

Definition at line 760 of file TargetRegistry.h.

◆ reference

Definition at line 761 of file TargetRegistry.h.

◆ value_type

Definition at line 758 of file TargetRegistry.h.

Constructor & Destructor Documentation

◆ iterator()

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

Member Function Documentation

◆ operator!=()

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

Definition at line 766 of file TargetRegistry.h.

References operator==().

◆ operator*()

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

Definition at line 780 of file TargetRegistry.h.

References assert().

Referenced by operator->().

◆ operator++() [1/2]

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

Definition at line 769 of file TargetRegistry.h.

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

◆ operator++() [2/2]

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

Definition at line 774 of file TargetRegistry.h.

◆ operator->()

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

Definition at line 785 of file TargetRegistry.h.

References operator*().

◆ operator==()

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

Definition at line 765 of file TargetRegistry.h.

Referenced by operator!=().

Friends And Related Function Documentation

◆ TargetRegistry

friend struct TargetRegistry

Definition at line 750 of file TargetRegistry.h.

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