clang  6.0.0svn
Public Member Functions | Public Attributes | List of all members
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 "clang/Sema/AttributeList.h"

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

Public Member Functions

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

Public Attributes

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

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 36 of file AttributeList.h.

Member Function Documentation

◆ isValid()

bool clang::AvailabilityChange::isValid ( ) const
inline

Determine whether this availability change is valid.

Definition at line 47 of file AttributeList.h.

References clang::VersionTuple::empty().

Member Data Documentation

◆ KeywordLoc

SourceLocation clang::AvailabilityChange::KeywordLoc

The location of the keyword indicating the kind of change.

Definition at line 38 of file AttributeList.h.

◆ Version

VersionTuple clang::AvailabilityChange::Version

The version number at which the change occurred.

Definition at line 41 of file AttributeList.h.

◆ VersionRange

SourceRange clang::AvailabilityChange::VersionRange

The source range covering the version number.

Definition at line 44 of file AttributeList.h.


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