clang API Documentation
Represents information about a change in availability for an entity, which is part of the encoding of the 'availability' attribute. More...
#include <AttributeList.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. |
Represents information about a change in availability for an entity, which is part of the encoding of the 'availability' attribute.
Definition at line 35 of file AttributeList.h.
bool clang::AvailabilityChange::isValid | ( | ) | const [inline] |
Determine whether this availability change is valid.
Definition at line 46 of file AttributeList.h.
References clang::VersionTuple::empty(), and Version.
The location of the keyword indicating the kind of change.
Definition at line 37 of file AttributeList.h.
The version number at which the change occurred.
Definition at line 40 of file AttributeList.h.
Referenced by handleAvailabilityAttr(), and isValid().
The source range covering the version number.
Definition at line 43 of file AttributeList.h.