13 #ifndef LLVM_CLANG_AST_AVAILABILITY_H 14 #define LLVM_CLANG_AST_AVAILABILITY_H 17 #include "llvm/ADT/StringRef.h" 18 #include "llvm/Support/VersionTuple.h" 44 : Version(Version), Platform(Platform), BeginLoc(BeginLoc),
49 : BeginLoc(StarLoc), EndLoc(StarLoc) {}
AvailabilitySpec(VersionTuple Version, StringRef Platform, SourceLocation BeginLoc, SourceLocation EndLoc)
StringRef getPlatform() const
AvailabilitySpec(SourceLocation StarLoc)
This constructor is used when representing the '*' case.
SourceLocation getBeginLoc() const
Encodes a location in the source.
VersionTuple getVersion() const
SourceLocation getEndLoc() const
Dataflow Directional Tag Classes.
Defines the clang::SourceLocation class and associated facilities.
bool isOtherPlatformSpec() const
Returns true when this represents the '*' case.
One specifier in an expression.