LLVM  14.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 685 of file TargetRegistry.h.

Member Typedef Documentation

◆ difference_type

Definition at line 695 of file TargetRegistry.h.

◆ iterator_category

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

Definition at line 693 of file TargetRegistry.h.

◆ pointer

Definition at line 696 of file TargetRegistry.h.

◆ reference

Definition at line 697 of file TargetRegistry.h.

◆ value_type

Definition at line 694 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 702 of file TargetRegistry.h.

References operator==(), and x.

◆ operator*()

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

Definition at line 716 of file TargetRegistry.h.

References assert().

Referenced by operator->().

◆ operator++() [1/2]

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

Definition at line 705 of file TargetRegistry.h.

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

◆ operator++() [2/2]

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

Definition at line 710 of file TargetRegistry.h.

◆ operator->()

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

Definition at line 721 of file TargetRegistry.h.

References operator*().

◆ operator==()

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

Definition at line 701 of file TargetRegistry.h.

References x.

Referenced by operator!=().

Friends And Related Function Documentation

◆ TargetRegistry

friend struct TargetRegistry
friend

Definition at line 686 of file TargetRegistry.h.


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