clang  14.0.0git
Public Member Functions | Public Attributes | List of all members
clang::ParsedAttributesWithRange Struct Reference

#include "clang/Sema/ParsedAttr.h"

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

Public Member Functions

 ParsedAttributesWithRange (AttributeFactory &factory)
 
void clear ()
 
- Public Member Functions inherited from clang::ParsedAttributes
 ParsedAttributes (AttributeFactory &factory)
 
 ParsedAttributes (const ParsedAttributes &)=delete
 
AttributePoolgetPool () const
 
void takeAllFrom (ParsedAttributes &attrs)
 
void takeOneFrom (ParsedAttributes &Attrs, ParsedAttr *PA)
 
void clear ()
 
ParsedAttraddNew (IdentifierInfo *attrName, SourceRange attrRange, IdentifierInfo *scopeName, SourceLocation scopeLoc, ArgsUnion *args, unsigned numArgs, ParsedAttr::Syntax syntax, SourceLocation ellipsisLoc=SourceLocation())
 Add attribute with expression arguments. More...
 
ParsedAttraddNew (IdentifierInfo *attrName, SourceRange attrRange, IdentifierInfo *scopeName, SourceLocation scopeLoc, IdentifierLoc *Param, const AvailabilityChange &introduced, const AvailabilityChange &deprecated, const AvailabilityChange &obsoleted, SourceLocation unavailable, const Expr *MessageExpr, ParsedAttr::Syntax syntax, SourceLocation strict, const Expr *ReplacementExpr)
 Add availability attribute. More...
 
ParsedAttraddNew (IdentifierInfo *attrName, SourceRange attrRange, IdentifierInfo *scopeName, SourceLocation scopeLoc, IdentifierLoc *Param1, IdentifierLoc *Param2, IdentifierLoc *Param3, ParsedAttr::Syntax syntax)
 Add objc_bridge_related attribute. More...
 
ParsedAttraddNewTypeTagForDatatype (IdentifierInfo *attrName, SourceRange attrRange, IdentifierInfo *scopeName, SourceLocation scopeLoc, IdentifierLoc *argumentKind, ParsedType matchingCType, bool layoutCompatible, bool mustBeNull, ParsedAttr::Syntax syntax)
 Add type_tag_for_datatype attribute. More...
 
ParsedAttraddNewTypeAttr (IdentifierInfo *attrName, SourceRange attrRange, IdentifierInfo *scopeName, SourceLocation scopeLoc, ParsedType typeArg, ParsedAttr::Syntax syntaxUsed)
 Add an attribute with a single type argument. More...
 
ParsedAttraddNewPropertyAttr (IdentifierInfo *attrName, SourceRange attrRange, IdentifierInfo *scopeName, SourceLocation scopeLoc, IdentifierInfo *getterId, IdentifierInfo *setterId, ParsedAttr::Syntax syntaxUsed)
 Add microsoft __delspec(property) attribute. More...
 
- Public Member Functions inherited from clang::ParsedAttributesView
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
 

Public Attributes

SourceRange Range
 

Detailed Description

Definition at line 1071 of file ParsedAttr.h.

Constructor & Destructor Documentation

◆ ParsedAttributesWithRange()

clang::ParsedAttributesWithRange::ParsedAttributesWithRange ( AttributeFactory factory)
inline

Definition at line 1072 of file ParsedAttr.h.

Member Function Documentation

◆ clear()

void clang::ParsedAttributesWithRange::clear ( )
inline

Definition at line 1075 of file ParsedAttr.h.

References clang::ParsedAttributes::clear(), and Range.

Member Data Documentation

◆ Range

SourceRange clang::ParsedAttributesWithRange::Range

Definition at line 1080 of file ParsedAttr.h.

Referenced by clang::Sema::ActOnAttributedStmt(), and clear().


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