clang API Documentation

Public Member Functions | Public Attributes
clang::AvailabilityChange Struct Reference

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

#include <AttributeList.h>

Collaboration diagram for clang::AvailabilityChange:
Collaboration graph
[legend]

List of all members.

Public Member Functions

bool isValid () const
 Determine whether this availability change is valid.

Public Attributes

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

Detailed Description

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

Definition at line 35 of file AttributeList.h.


Member Function Documentation

Determine whether this availability change is valid.

Definition at line 46 of file AttributeList.h.

References clang::VersionTuple::empty(), and Version.


Member Data Documentation

The location of the keyword indicating the kind of change.

Definition at line 37 of file AttributeList.h.

The version number at which the change occurred.

Definition at line 40 of file AttributeList.h.

Referenced by handleAvailabilityAttr(), and isValid().

The source range covering the version number.

Definition at line 43 of file AttributeList.h.


The documentation for this struct was generated from the following file: