clang
3.9.0
|
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. More... | |
Public Attributes | |
SourceLocation | KeywordLoc |
The location of the keyword indicating the kind of change. More... | |
VersionTuple | Version |
The version number at which the change occurred. More... | |
SourceRange | VersionRange |
The source range covering the version number. More... | |
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.
|
inline |
Determine whether this availability change is valid.
Definition at line 46 of file AttributeList.h.
References clang::VersionTuple::empty(), and Version.
SourceLocation clang::AvailabilityChange::KeywordLoc |
The location of the keyword indicating the kind of change.
Definition at line 37 of file AttributeList.h.
VersionTuple clang::AvailabilityChange::Version |
The version number at which the change occurred.
Definition at line 40 of file AttributeList.h.
Referenced by handleAvailabilityAttr(), and isValid().
SourceRange clang::AvailabilityChange::VersionRange |
The source range covering the version number.
Definition at line 43 of file AttributeList.h.