clang 17.0.0git
|
ParsedAttributes - A collection of parsed attributes. More...
#include "clang/Sema/ParsedAttr.h"
Additional Inherited Members | |
![]() | |
static const ParsedAttributesView & | none () |
![]() | |
SourceRange | Range |
ParsedAttributes - A collection of parsed attributes.
Currently we don't differentiate between the various attribute syntaxes, which is basically silly.
Right now this is a very lightweight container, but the expectation is that this will become significantly more serious.
Definition at line 909 of file ParsedAttr.h.
|
inline |
Definition at line 911 of file ParsedAttr.h.
|
delete |
|
inline |
Add attribute with expression arguments.
Definition at line 940 of file ParsedAttr.h.
References clang::ParsedAttributesView::addAtEnd(), clang::ast_matchers::attr, and clang::AttributePool::create().
|
inline |
Add availability attribute.
Definition at line 952 of file ParsedAttr.h.
References clang::ParsedAttributesView::addAtEnd(), clang::ast_matchers::attr, and clang::AttributePool::create().
|
inline |
Add objc_bridge_related attribute.
Definition at line 968 of file ParsedAttr.h.
References clang::ParsedAttributesView::addAtEnd(), clang::ast_matchers::attr, and clang::AttributePool::create().
|
inline |
Add microsoft __delspec(property) attribute.
Definition at line 1005 of file ParsedAttr.h.
References clang::ParsedAttributesView::addAtEnd(), clang::ast_matchers::attr, and clang::AttributePool::createPropertyAttribute().
|
inline |
Add an attribute with a single type argument.
Definition at line 993 of file ParsedAttr.h.
References clang::ParsedAttributesView::addAtEnd(), clang::ast_matchers::attr, and clang::AttributePool::createTypeAttribute().
|
inline |
Add type_tag_for_datatype attribute.
Definition at line 980 of file ParsedAttr.h.
References clang::ParsedAttributesView::addAtEnd(), clang::ast_matchers::attr, and clang::AttributePool::createTypeTagForDatatype().
|
inline |
Definition at line 933 of file ParsedAttr.h.
References clang::AttributePool::clear(), clang::ParsedAttributesView::clearListOnly(), and clang::ParsedAttributesView::Range.
Referenced by clang::Declarator::clear().
|
inline |
Definition at line 914 of file ParsedAttr.h.
Referenced by clang::Sema::ActOnCXXForRangeIdentifier(), addContextSensitiveTypeNullability(), clang::DeclSpec::getAttributePool(), clang::Declarator::getAttributePool(), takeDeclAttributes(), and takeOneFrom().
|
inline |
Definition at line 916 of file ParsedAttr.h.
References clang::ParsedAttributesView::addAll(), and clang::AttributePool::takeAllFrom().
Referenced by clang::DeclaratorChunk::getFunction(), clang::Declarator::takeAttributes(), and clang::DeclSpec::takeAttributesFrom().
|
inline |
Definition at line 924 of file ParsedAttr.h.
References clang::ParsedAttributesView::addAtEnd(), and getPool().
Referenced by distributeObjCPointerTypeAttrFromDeclarator(), and clang::Parser::ParseTypeName().