clang 20.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 (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 |
Friends | |
bool | operator== (const CommonTypeInfo &, const CommonTypeInfo &) |
Additional Inherited Members | |
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. | |
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().
Referenced by clang::api_notes::ContextInfo::dump(), clang::api_notes::TagInfo::dump(), and clang::api_notes::TypedefInfo::dump().
|
inline |
Definition at line 155 of file Types.h.
Referenced by operator|=(), and ProcessAPINotes().
|
inline |
Definition at line 147 of file Types.h.
Referenced by operator|=(), and ProcessAPINotes().
|
inline |
Definition at line 170 of file Types.h.
References getNSErrorDomain(), getSwiftBridge(), setNSErrorDomain(), and setSwiftBridge().
|
inline |
Definition at line 163 of file Types.h.
References clang::Domain.
|
inline |
|
inline |
Definition at line 151 of file Types.h.
Referenced by operator|=().
|
friend |