clang 20.0.0git
|
One specifier in an @available expression. More...
#include "clang/AST/Availability.h"
Public Member Functions | |
AvailabilitySpec (VersionTuple Version, StringRef Platform, SourceLocation BeginLoc, SourceLocation EndLoc) | |
AvailabilitySpec (SourceLocation StarLoc) | |
This constructor is used when representing the '*' case. | |
VersionTuple | getVersion () const |
StringRef | getPlatform () const |
SourceLocation | getBeginLoc () const |
SourceLocation | getEndLoc () const |
bool | isOtherPlatformSpec () const |
Returns true when this represents the '*' case. | |
One specifier in an @available expression.
Here, 'macos 10.10' and '*' both map to an instance of this type.
Definition at line 31 of file Availability.h.
|
inline |
Definition at line 43 of file Availability.h.
|
inline |
This constructor is used when representing the '*' case.
Definition at line 49 of file Availability.h.
|
inline |
Definition at line 54 of file Availability.h.
|
inline |
Definition at line 55 of file Availability.h.
|
inline |
Definition at line 53 of file Availability.h.
Referenced by clang::SemaObjC::ActOnObjCAvailabilityCheckExpr().
|
inline |
Definition at line 52 of file Availability.h.
Referenced by clang::SemaObjC::ActOnObjCAvailabilityCheckExpr().
|
inline |
Returns true when this represents the '*' case.
Definition at line 58 of file Availability.h.