clang 20.0.0git
Public Types | Public Member Functions | Friends | List of all members
clang::CXXRecordDecl::friend_iterator Class Reference

An iterator over the friend declarations of a class. More...

#include "clang/AST/DeclFriend.h"

Public Types

using value_type = FriendDecl *
 
using reference = FriendDecl *
 
using pointer = FriendDecl *
 
using difference_type = int
 
using iterator_category = std::forward_iterator_tag
 

Public Member Functions

 friend_iterator ()=default
 
reference operator* () const
 
friend_iteratoroperator++ ()
 
friend_iterator operator++ (int)
 
bool operator== (const friend_iterator &Other) const
 
bool operator!= (const friend_iterator &Other) const
 
friend_iteratoroperator+= (difference_type N)
 
friend_iterator operator+ (difference_type N) const
 

Friends

class CXXRecordDecl
 

Detailed Description

An iterator over the friend declarations of a class.

Definition at line 201 of file DeclFriend.h.

Member Typedef Documentation

◆ difference_type

Definition at line 214 of file DeclFriend.h.

◆ iterator_category

Definition at line 215 of file DeclFriend.h.

◆ pointer

Definition at line 213 of file DeclFriend.h.

◆ reference

Definition at line 212 of file DeclFriend.h.

◆ value_type

Definition at line 211 of file DeclFriend.h.

Constructor & Destructor Documentation

◆ friend_iterator()

clang::CXXRecordDecl::friend_iterator::friend_iterator ( )
default

Member Function Documentation

◆ operator!=()

bool clang::CXXRecordDecl::friend_iterator::operator!= ( const friend_iterator Other) const
inline

Definition at line 235 of file DeclFriend.h.

References clang::Other.

◆ operator*()

reference clang::CXXRecordDecl::friend_iterator::operator* ( ) const
inline

Definition at line 217 of file DeclFriend.h.

◆ operator+()

friend_iterator clang::CXXRecordDecl::friend_iterator::operator+ ( difference_type  N) const
inline

Definition at line 246 of file DeclFriend.h.

◆ operator++() [1/2]

friend_iterator & clang::CXXRecordDecl::friend_iterator::operator++ ( )
inline

Definition at line 219 of file DeclFriend.h.

◆ operator++() [2/2]

friend_iterator clang::CXXRecordDecl::friend_iterator::operator++ ( int  )
inline

Definition at line 225 of file DeclFriend.h.

◆ operator+=()

friend_iterator & clang::CXXRecordDecl::friend_iterator::operator+= ( difference_type  N)
inline

Definition at line 239 of file DeclFriend.h.

◆ operator==()

bool clang::CXXRecordDecl::friend_iterator::operator== ( const friend_iterator Other) const
inline

Definition at line 231 of file DeclFriend.h.

References clang::Other.

Friends And Related Function Documentation

◆ CXXRecordDecl

friend class CXXRecordDecl
friend

Definition at line 202 of file DeclFriend.h.


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