struct AvailabilityChange

Declaration

struct AvailabilityChange { /* full declaration omitted */ };

Description

Represents information about a change in availability for an entity, which is part of the encoding of the 'availability' attribute.

Declared at: clang/include/clang/Sema/ParsedAttr.h:160

Member Variables

public clang::SourceLocation KeywordLoc
The location of the keyword indicating the kind of change.
public llvm::VersionTuple Version
The version number at which the change occurred.
public clang::SourceRange VersionRange
The source range covering the version number.

Method Overview

Methods

ΒΆbool isValid() const

Description

Determine whether this availability change is valid.

Declared at: clang/include/clang/Sema/ParsedAttr.h:171