clang  8.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/ParsedAttr.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 44 of file ParsedAttr.h.

Member Function Documentation

◆ isValid()

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

Determine whether this availability change is valid.

Definition at line 55 of file ParsedAttr.h.

Member Data Documentation

◆ KeywordLoc

SourceLocation clang::AvailabilityChange::KeywordLoc

The location of the keyword indicating the kind of change.

Definition at line 46 of file ParsedAttr.h.

Referenced by VersionNumberSeparator().

◆ Version

VersionTuple clang::AvailabilityChange::Version

The version number at which the change occurred.

Definition at line 49 of file ParsedAttr.h.

Referenced by VersionNumberSeparator().

◆ VersionRange

SourceRange clang::AvailabilityChange::VersionRange

The source range covering the version number.

Definition at line 52 of file ParsedAttr.h.


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