clang 20.0.0git
Public Member Functions | Public Attributes | List of all members
clang::AvailabilityChange Struct Reference

Represents information about a change in availability for an entity, which is part of the encoding of the 'availability' attribute. More...

#include "clang/Sema/ParsedAttr.h"

Public Member Functions

bool isValid () const
 Determine whether this availability change is valid.
 

Public Attributes

SourceLocation KeywordLoc
 The location of the keyword indicating the kind of change.
 
VersionTuple Version
 The version number at which the change occurred.
 
SourceRange VersionRange
 The source range covering the version number.
 

Detailed Description

Represents information about a change in availability for an entity, which is part of the encoding of the 'availability' attribute.

Definition at line 48 of file ParsedAttr.h.

Member Function Documentation

◆ isValid()

bool clang::AvailabilityChange::isValid ( ) const
inline

Determine whether this availability change is valid.

Definition at line 59 of file ParsedAttr.h.

References Version.

Referenced by handleAvailabilityAttr().

Member Data Documentation

◆ KeywordLoc

SourceLocation clang::AvailabilityChange::KeywordLoc

The location of the keyword indicating the kind of change.

Definition at line 50 of file ParsedAttr.h.

◆ Version

VersionTuple clang::AvailabilityChange::Version

The version number at which the change occurred.

Definition at line 53 of file ParsedAttr.h.

Referenced by handleAvailabilityAttr(), and isValid().

◆ VersionRange

SourceRange clang::AvailabilityChange::VersionRange

The source range covering the version number.

Definition at line 56 of file ParsedAttr.h.


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