clang 17.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 30 of file Availability.h.
|
inline |
Definition at line 42 of file Availability.h.
|
inline |
This constructor is used when representing the '*' case.
Definition at line 48 of file Availability.h.
|
inline |
Definition at line 53 of file Availability.h.
|
inline |
Definition at line 54 of file Availability.h.
|
inline |
Definition at line 52 of file Availability.h.
Referenced by clang::Sema::ActOnObjCAvailabilityCheckExpr().
|
inline |
Definition at line 51 of file Availability.h.
Referenced by clang::Sema::ActOnObjCAvailabilityCheckExpr().
|
inline |
Returns true when this represents the '*' case.
Definition at line 57 of file Availability.h.