clang  6.0.0svn
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 188 of file DeclFriend.h.

Member Typedef Documentation

◆ difference_type

Definition at line 201 of file DeclFriend.h.

◆ iterator_category

Definition at line 202 of file DeclFriend.h.

◆ pointer

Definition at line 200 of file DeclFriend.h.

◆ reference

Definition at line 199 of file DeclFriend.h.

◆ value_type

Definition at line 198 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 222 of file DeclFriend.h.

◆ operator*()

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

Definition at line 204 of file DeclFriend.h.

◆ operator+()

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

Definition at line 233 of file DeclFriend.h.

◆ operator++() [1/2]

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

Definition at line 206 of file DeclFriend.h.

◆ operator++() [2/2]

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

Definition at line 212 of file DeclFriend.h.

◆ operator+=()

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

Definition at line 226 of file DeclFriend.h.

◆ operator==()

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

Definition at line 218 of file DeclFriend.h.

Friends And Related Function Documentation

◆ CXXRecordDecl

friend class CXXRecordDecl
friend

Definition at line 189 of file DeclFriend.h.


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