clang 20.0.0git
|
Describes API notes data for a tag. More...
#include "clang/APINotes/Types.h"
Public Member Functions | |
TagInfo () | |
std::optional< bool > | isFlagEnum () const |
void | setFlagEnum (std::optional< bool > Value) |
std::optional< bool > | isSwiftCopyable () const |
void | setSwiftCopyable (std::optional< bool > Value) |
std::optional< bool > | isSwiftEscapable () const |
void | setSwiftEscapable (std::optional< bool > Value) |
TagInfo & | operator|= (const TagInfo &RHS) |
LLVM_DUMP_METHOD void | dump (llvm::raw_ostream &OS) |
Public Member Functions inherited from clang::api_notes::CommonTypeInfo | |
CommonTypeInfo () | |
const std::optional< std::string > & | getSwiftBridge () const |
void | setSwiftBridge (std::optional< std::string > SwiftType) |
const std::optional< std::string > & | getNSErrorDomain () const |
void | setNSErrorDomain (const std::optional< std::string > &Domain) |
void | setNSErrorDomain (const std::optional< llvm::StringRef > &Domain) |
CommonTypeInfo & | operator|= (const CommonTypeInfo &RHS) |
LLVM_DUMP_METHOD void | dump (llvm::raw_ostream &OS) const |
Public Member Functions inherited from clang::api_notes::CommonEntityInfo | |
CommonEntityInfo () | |
std::optional< bool > | isSwiftPrivate () const |
void | setSwiftPrivate (std::optional< bool > Private) |
CommonEntityInfo & | operator|= (const CommonEntityInfo &RHS) |
LLVM_DUMP_METHOD void | dump (llvm::raw_ostream &OS) const |
Public Attributes | |
std::optional< std::string > | SwiftImportAs |
std::optional< std::string > | SwiftRetainOp |
std::optional< std::string > | SwiftReleaseOp |
std::optional< std::string > | SwiftConformance |
The Swift protocol that this type should be automatically conformed to. | |
std::optional< EnumExtensibilityKind > | EnumExtensibility |
Public Attributes inherited from clang::api_notes::CommonEntityInfo | |
std::string | UnavailableMsg |
Message to use when this entity is unavailable. | |
unsigned | Unavailable: 1 |
Whether this entity is marked unavailable. | |
unsigned | UnavailableInSwift: 1 |
Whether this entity is marked unavailable in Swift. | |
std::string | SwiftName |
Swift name of this entity. | |
Friends | |
bool | operator== (const TagInfo &, const TagInfo &) |
LLVM_DUMP_METHOD void clang::api_notes::TagInfo::dump | ( | llvm::raw_ostream & | OS | ) |
Definition at line 102 of file APINotesTypes.cpp.
References clang::api_notes::CommonTypeInfo::dump(), and EnumExtensibility.
|
inline |
Definition at line 751 of file Types.h.
Referenced by operator|=(), and ProcessAPINotes().
|
inline |
Definition at line 761 of file Types.h.
Referenced by operator|=(), and ProcessAPINotes().
|
inline |
Definition at line 770 of file Types.h.
Referenced by operator|=(), and ProcessAPINotes().
Definition at line 780 of file Types.h.
References EnumExtensibility, isFlagEnum(), isSwiftCopyable(), isSwiftEscapable(), setFlagEnum(), setSwiftCopyable(), setSwiftEscapable(), SwiftConformance, SwiftImportAs, SwiftReleaseOp, and SwiftRetainOp.
|
inline |
Definition at line 756 of file Types.h.
Referenced by operator|=().
|
inline |
Definition at line 765 of file Types.h.
Referenced by operator|=().
|
inline |
Definition at line 775 of file Types.h.
Referenced by operator|=().
std::optional<EnumExtensibilityKind> clang::api_notes::TagInfo::EnumExtensibility |
Definition at line 744 of file Types.h.
Referenced by dump(), operator|=(), and ProcessAPINotes().
std::optional<std::string> clang::api_notes::TagInfo::SwiftConformance |
The Swift protocol that this type should be automatically conformed to.
Definition at line 742 of file Types.h.
Referenced by operator|=(), and ProcessAPINotes().
std::optional<std::string> clang::api_notes::TagInfo::SwiftImportAs |
Definition at line 737 of file Types.h.
Referenced by operator|=(), and ProcessAPINotes().
std::optional<std::string> clang::api_notes::TagInfo::SwiftReleaseOp |
Definition at line 739 of file Types.h.
Referenced by operator|=(), and ProcessAPINotes().
std::optional<std::string> clang::api_notes::TagInfo::SwiftRetainOp |
Definition at line 738 of file Types.h.
Referenced by operator|=(), and ProcessAPINotes().