clang 24.0.0git
clang::ParsedAttributesView Class Reference

#include "clang/Sema/ParsedAttr.h"

Inheritance diagram for clang::ParsedAttributesView:
[legend]

Classes

struct  const_iterator
struct  iterator

Public Member Functions

bool empty () const
SizeType size () const
ParsedAttr & operator[] (SizeType pos)
const ParsedAttr & operator[] (SizeType pos) const
void addAtEnd (ParsedAttr *newAttr)
void remove (ParsedAttr *ToBeRemoved)
void clearListOnly ()
void prepend (iterator B, iterator E)
void prepend (const_iterator B, const_iterator E)
void append (iterator B, iterator E)
void append (const_iterator B, const_iterator E)
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
ParsedAttr & front ()
const ParsedAttr & front () const
ParsedAttr & back ()
const ParsedAttr & back () const
bool hasAttribute (ParsedAttr::Kind K) const
const ParsedAttr * getMSPropertyAttr () const
bool hasMSPropertyAttr () const

Static Public Member Functions

static const ParsedAttributesView & none ()

Public Attributes

SourceRange Range

Friends

class AttributePool

Detailed Description

Definition at line 822 of file ParsedAttr.h.

Member Function Documentation

◆ addAtEnd()

◆ append() [1/2]

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

Definition at line 884 of file ParsedAttr.h.

◆ append() [2/2]

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

Definition at line 880 of file ParsedAttr.h.

Referenced by clang::ParsedAttributes::takeAllAppendingFrom().

◆ back() [1/2]

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

Definition at line 901 of file ParsedAttr.h.

References empty().

◆ back() [2/2]

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

Definition at line 905 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 889 of file ParsedAttr.h.

◆ clearListOnly()

void clang::ParsedAttributesView::clearListOnly ( )
inline

Definition at line 851 of file ParsedAttr.h.

Referenced by clang::ParsedAttributes::clear().

◆ empty()

◆ end() [1/2]

iterator clang::ParsedAttributesView::end ( )
inline

Definition at line 890 of file ParsedAttr.h.

Referenced by clang::DeclSpec::addAttributes().

◆ end() [2/2]

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

Definition at line 891 of file ParsedAttr.h.

◆ front() [1/2]

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

Definition at line 893 of file ParsedAttr.h.

References empty().

◆ front() [2/2]

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

Definition at line 897 of file ParsedAttr.h.

References empty().

◆ getMSPropertyAttr()

const ParsedAttr * clang::ParsedAttributesView::getMSPropertyAttr ( ) const
inline

◆ hasAttribute()

◆ hasMSPropertyAttr()

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

Definition at line 924 of file ParsedAttr.h.

References getMSPropertyAttr().

Referenced by GetFullTypeForDeclarator(), and GetTypeSourceInfoForDeclarator().

◆ none()

◆ operator[]() [1/2]

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

Definition at line 837 of file ParsedAttr.h.

◆ operator[]() [2/2]

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

Definition at line 838 of file ParsedAttr.h.

◆ prepend() [1/2]

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

Definition at line 876 of file ParsedAttr.h.

◆ prepend() [2/2]

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

Definition at line 872 of file ParsedAttr.h.

Referenced by clang::ParsedAttributes::takeAllPrependingFrom().

◆ remove()

◆ size()

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

Definition at line 836 of file ParsedAttr.h.

Referenced by clang::DeclaratorChunk::getFunction().

◆ AttributePool

friend class AttributePool
friend

Definition at line 823 of file ParsedAttr.h.

References AttributePool.

Referenced by AttributePool, and clang::ParsedAttributes::getPool().

Member Data Documentation

◆ Range


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