|
clang 22.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) |
| std::optional< std::string > | getSwiftConformance () const |
| void | setSwiftConformance (std::optional< std::string > conformance) |
| 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) |
| std::optional< SwiftSafetyKind > | getSwiftSafety () const |
| void | setSwiftSafety (SwiftSafetyKind Safety) |
| 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 > | SwiftDestroyOp |
| std::optional< std::string > | SwiftDefaultOwnership |
| 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 &LHS, const TagInfo &RHS) |
|
inline |
Definition at line 783 of file Types.h.
References false.
Referenced by operator==, and operator|=().
| LLVM_DUMP_METHOD void clang::api_notes::TagInfo::dump | ( | llvm::raw_ostream & | OS | ) |
Definition at line 117 of file APINotesTypes.cpp.
References clang::api_notes::CommonTypeInfo::CommonTypeInfo(), and EnumExtensibility.
|
inline |
Definition at line 788 of file Types.h.
Referenced by operator==, operator|=(), and ProcessAPINotes().
|
inline |
Definition at line 798 of file Types.h.
Referenced by operator==, operator|=(), and ProcessAPINotes().
|
inline |
Definition at line 807 of file Types.h.
Referenced by operator==, operator|=(), and ProcessAPINotes().
Definition at line 817 of file Types.h.
References clang::api_notes::CommonTypeInfo::CommonTypeInfo(), EnumExtensibility, isFlagEnum(), isSwiftCopyable(), isSwiftEscapable(), setFlagEnum(), setSwiftCopyable(), setSwiftEscapable(), SwiftDefaultOwnership, SwiftDestroyOp, SwiftImportAs, SwiftReleaseOp, SwiftRetainOp, and TagInfo().
|
inline |
Definition at line 793 of file Types.h.
Referenced by operator|=().
|
inline |
Definition at line 802 of file Types.h.
Referenced by operator|=().
|
inline |
Definition at line 812 of file Types.h.
Referenced by operator|=().
Definition at line 851 of file Types.h.
References clang::api_notes::CommonTypeInfo::CommonTypeInfo(), EnumExtensibility, isFlagEnum(), isSwiftCopyable(), isSwiftEscapable(), SwiftDefaultOwnership, SwiftDestroyOp, SwiftImportAs, SwiftReleaseOp, SwiftRetainOp, and TagInfo().
| std::optional<EnumExtensibilityKind> clang::api_notes::TagInfo::EnumExtensibility |
Definition at line 781 of file Types.h.
Referenced by dump(), operator==, operator|=(), and ProcessAPINotes().
| std::optional<std::string> clang::api_notes::TagInfo::SwiftDefaultOwnership |
Definition at line 779 of file Types.h.
Referenced by operator==, operator|=(), and ProcessAPINotes().
| std::optional<std::string> clang::api_notes::TagInfo::SwiftDestroyOp |
Definition at line 778 of file Types.h.
Referenced by operator==, operator|=(), and ProcessAPINotes().
| std::optional<std::string> clang::api_notes::TagInfo::SwiftImportAs |
Definition at line 775 of file Types.h.
Referenced by operator==, operator|=(), and ProcessAPINotes().
| std::optional<std::string> clang::api_notes::TagInfo::SwiftReleaseOp |
Definition at line 777 of file Types.h.
Referenced by operator==, operator|=(), and ProcessAPINotes().
| std::optional<std::string> clang::api_notes::TagInfo::SwiftRetainOp |
Definition at line 776 of file Types.h.
Referenced by operator==, operator|=(), and ProcessAPINotes().