14 #ifndef LLVM_CLANG_AST_AVAILABILITY_H 15 #define LLVM_CLANG_AST_AVAILABILITY_H 19 #include "llvm/ADT/StringRef.h" 45 : Version(Version), Platform(Platform), BeginLoc(BeginLoc),
50 : BeginLoc(StarLoc), EndLoc(StarLoc) {}
AvailabilitySpec(VersionTuple Version, StringRef Platform, SourceLocation BeginLoc, SourceLocation EndLoc)
Represents a version number in the form major[.minor[.subminor[.build]]].
StringRef getPlatform() const
AvailabilitySpec(SourceLocation StarLoc)
This constructor is used when representing the '*' case.
SourceLocation getBeginLoc() const
bool empty() const
Determine whether this version information is empty (e.g., all version components are zero)...
Encodes a location in the source.
VersionTuple getVersion() const
SourceLocation getEndLoc() const
Dataflow Directional Tag Classes.
Defines the clang::SourceLocation class and associated facilities.
Defines the clang::VersionTuple class, which represents a version in the form major[.minor[.subminor]].
bool isOtherPlatformSpec() const
Returns true when this represents the '*' case.
One specifier in an expression.