|
clang 22.0.0git
|
Captures the completed versioned information for a particular part of API notes, including both unversioned API notes and each versioned API note for that particular entity. More...
#include "clang/APINotes/APINotesReader.h"
Public Member Functions | |
| VersionedInfo (std::nullopt_t) | |
| Form an empty set of versioned information. | |
| VersionedInfo (llvm::VersionTuple Version, llvm::SmallVector< std::pair< llvm::VersionTuple, T >, 1 > Results) | |
| Form a versioned info set given the desired version and a set of results. | |
| std::optional< unsigned > | getSelected () const |
| Retrieve the selected index in the result set. | |
| unsigned | size () const |
| Return the number of versioned results we know about. | |
| const std::pair< llvm::VersionTuple, T > * | begin () const |
| Access all versioned results. | |
| const std::pair< llvm::VersionTuple, T > * | end () const |
| const std::pair< llvm::VersionTuple, T > & | operator[] (unsigned index) const |
| Access a specific versioned result. | |
Captures the completed versioned information for a particular part of API notes, including both unversioned API notes and each versioned API note for that particular entity.
Definition at line 52 of file APINotesReader.h.
|
inline |
Form an empty set of versioned information.
Definition at line 62 of file APINotesReader.h.
| clang::api_notes::APINotesReader::VersionedInfo< T >::VersionedInfo | ( | llvm::VersionTuple | Version, |
| llvm::SmallVector< std::pair< llvm::VersionTuple, T >, 1 > | Results ) |
Form a versioned info set given the desired version and a set of results.
Definition at line 2054 of file APINotesReader.cpp.
|
inline |
Access all versioned results.
Definition at line 77 of file APINotesReader.h.
|
inline |
Definition at line 81 of file APINotesReader.h.
|
inline |
Retrieve the selected index in the result set.
Definition at line 71 of file APINotesReader.h.
Referenced by maybeAttachUnversionedSwiftName(), and ProcessVersionedAPINotes().
|
inline |
Access a specific versioned result.
Definition at line 86 of file APINotesReader.h.
|
inline |
Return the number of versioned results we know about.
Definition at line 74 of file APINotesReader.h.
Referenced by ProcessVersionedAPINotes().