clang  15.0.0git
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
clang::ParsedAttributesView Class Reference

#include "clang/Sema/ParsedAttr.h"

Inheritance diagram for clang::ParsedAttributesView:
Inheritance graph
[legend]
Collaboration diagram for clang::ParsedAttributesView:
Collaboration graph
[legend]

Classes

struct  const_iterator
 
struct  iterator
 

Public Member Functions

bool empty () const
 
SizeType size () const
 
ParsedAttroperator[] (SizeType pos)
 
const ParsedAttroperator[] (SizeType pos) const
 
void addAtEnd (ParsedAttr *newAttr)
 
void remove (ParsedAttr *ToBeRemoved)
 
void clearListOnly ()
 
void addAll (iterator B, iterator E)
 
void addAll (const_iterator B, const_iterator E)
 
void addAllAtEnd (iterator B, iterator E)
 
void addAllAtEnd (const_iterator B, const_iterator E)
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
ParsedAttrfront ()
 
const ParsedAttrfront () const
 
ParsedAttrback ()
 
const ParsedAttrback () const
 
bool hasAttribute (ParsedAttr::Kind K) const
 

Static Public Member Functions

static const ParsedAttributesViewnone ()
 

Public Attributes

SourceRange Range
 

Detailed Description

Definition at line 909 of file ParsedAttr.h.

Member Function Documentation

◆ addAll() [1/2]

void clang::ParsedAttributesView::addAll ( const_iterator  B,
const_iterator  E 
)
inline

Definition at line 962 of file ParsedAttr.h.

◆ addAll() [2/2]

void clang::ParsedAttributesView::addAll ( iterator  B,
iterator  E 
)
inline

◆ addAllAtEnd() [1/2]

void clang::ParsedAttributesView::addAllAtEnd ( const_iterator  B,
const_iterator  E 
)
inline

Definition at line 970 of file ParsedAttr.h.

◆ addAllAtEnd() [2/2]

void clang::ParsedAttributesView::addAllAtEnd ( iterator  B,
iterator  E 
)
inline

Definition at line 966 of file ParsedAttr.h.

◆ addAtEnd()

void clang::ParsedAttributesView::addAtEnd ( ParsedAttr newAttr)
inline

◆ back() [1/2]

ParsedAttr& clang::ParsedAttributesView::back ( )
inline

Definition at line 987 of file ParsedAttr.h.

References empty().

◆ back() [2/2]

const ParsedAttr& clang::ParsedAttributesView::back ( ) const
inline

Definition at line 991 of file ParsedAttr.h.

References empty().

◆ begin() [1/2]

iterator clang::ParsedAttributesView::begin ( )
inline

◆ begin() [2/2]

const_iterator clang::ParsedAttributesView::begin ( ) const
inline

Definition at line 975 of file ParsedAttr.h.

◆ clearListOnly()

void clang::ParsedAttributesView::clearListOnly ( )
inline

◆ empty()

bool clang::ParsedAttributesView::empty ( ) const
inline

◆ end() [1/2]

iterator clang::ParsedAttributesView::end ( )
inline

◆ end() [2/2]

const_iterator clang::ParsedAttributesView::end ( ) const
inline

Definition at line 977 of file ParsedAttr.h.

◆ front() [1/2]

ParsedAttr& clang::ParsedAttributesView::front ( )
inline

Definition at line 979 of file ParsedAttr.h.

References empty().

◆ front() [2/2]

const ParsedAttr& clang::ParsedAttributesView::front ( ) const
inline

Definition at line 983 of file ParsedAttr.h.

References empty().

◆ hasAttribute()

bool clang::ParsedAttributesView::hasAttribute ( ParsedAttr::Kind  K) const
inline

Definition at line 996 of file ParsedAttr.h.

References clang::AttributeCommonInfo::getParsedKind().

◆ none()

static const ParsedAttributesView& clang::ParsedAttributesView::none ( )
inlinestatic

Definition at line 916 of file ParsedAttr.h.

Referenced by clang::Parser::ParseTypeName().

◆ operator[]() [1/2]

ParsedAttr& clang::ParsedAttributesView::operator[] ( SizeType  pos)
inline

Definition at line 923 of file ParsedAttr.h.

◆ operator[]() [2/2]

const ParsedAttr& clang::ParsedAttributesView::operator[] ( SizeType  pos) const
inline

Definition at line 924 of file ParsedAttr.h.

◆ remove()

void clang::ParsedAttributesView::remove ( ParsedAttr ToBeRemoved)
inline

◆ size()

SizeType clang::ParsedAttributesView::size ( ) const
inline

Member Data Documentation

◆ Range

SourceRange clang::ParsedAttributesView::Range

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