|
clang 22.0.0git
|
Describes API notes data for a typedef. More...
#include "clang/APINotes/Types.h"
Public Member Functions | |
| TypedefInfo () | |
| TypedefInfo & | operator|= (const TypedefInfo &RHS) |
| LLVM_DUMP_METHOD void | dump (llvm::raw_ostream &OS) const |
| 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< SwiftNewTypeKind > | SwiftWrapper |
| 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 TypedefInfo &LHS, const TypedefInfo &RHS) |
|
inline |
Definition at line 873 of file Types.h.
Referenced by operator==, and operator|=().
| LLVM_DUMP_METHOD void clang::api_notes::TypedefInfo::dump | ( | llvm::raw_ostream & | OS | ) | const |
Definition at line 131 of file APINotesTypes.cpp.
References clang::api_notes::CommonTypeInfo::CommonTypeInfo(), and SwiftWrapper.
|
inline |
Definition at line 875 of file Types.h.
References clang::api_notes::CommonTypeInfo::CommonTypeInfo(), SwiftWrapper, and TypedefInfo().
|
friend |
Definition at line 887 of file Types.h.
References clang::api_notes::CommonTypeInfo::CommonTypeInfo(), SwiftWrapper, and TypedefInfo().
| std::optional<SwiftNewTypeKind> clang::api_notes::TypedefInfo::SwiftWrapper |
Definition at line 871 of file Types.h.
Referenced by dump(), operator==, operator|=(), and ProcessAPINotes().