clang 17.0.0git
|
Describes API notes for types. More...
#include "clang/APINotes/Types.h"
Public Member Functions | |
CommonTypeInfo () | |
const std::optional< std::string > & | getSwiftBridge () const |
void | setSwiftBridge (const std::optional< std::string > &SwiftType) |
void | setSwiftBridge (const std::optional< llvm::StringRef > &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 |
![]() | |
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 |
Friends | |
bool | operator== (const CommonTypeInfo &, const CommonTypeInfo &) |
Additional Inherited Members | |
![]() | |
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. | |
LLVM_DUMP_METHOD void clang::api_notes::CommonTypeInfo::dump | ( | llvm::raw_ostream & | OS | ) | const |
Definition at line 26 of file APINotesTypes.cpp.
References clang::api_notes::CommonEntityInfo::dump(), and OS.
Referenced by clang::api_notes::ObjCContextInfo::dump(), clang::api_notes::TagInfo::dump(), and clang::api_notes::TypedefInfo::dump().
|
inline |
Definition at line 156 of file Types.h.
Referenced by operator|=().
|
inline |
Definition at line 142 of file Types.h.
Referenced by operator|=().
|
inline |
Definition at line 171 of file Types.h.
References getNSErrorDomain(), getSwiftBridge(), setNSErrorDomain(), and setSwiftBridge().
|
inline |
Definition at line 164 of file Types.h.
References clang::Domain.
|
inline |
|
inline |
|
inline |
Definition at line 146 of file Types.h.
Referenced by operator|=().
|
friend |