clang 22.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) |
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 |
Friends | |
bool | operator== (const CommonTypeInfo &LHS, const CommonTypeInfo &RHS) |
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. |
|
inline |
Definition at line 172 of file Types.h.
Referenced by clang::api_notes::ContextInfo::dump(), clang::api_notes::TagInfo::dump(), clang::api_notes::TypedefInfo::dump(), operator==, clang::api_notes::ContextInfo::operator==, clang::api_notes::TagInfo::operator==, clang::api_notes::TypedefInfo::operator==, operator|=(), clang::api_notes::ContextInfo::operator|=(), clang::api_notes::TagInfo::operator|=(), and clang::api_notes::TypedefInfo::operator|=().
LLVM_DUMP_METHOD void clang::api_notes::CommonTypeInfo::dump | ( | llvm::raw_ostream & | OS | ) | const |
Definition at line 41 of file APINotesTypes.cpp.
References clang::api_notes::CommonEntityInfo::CommonEntityInfo().
|
inline |
Definition at line 182 of file Types.h.
Referenced by operator|=(), and ProcessAPINotes().
|
inline |
Definition at line 174 of file Types.h.
Referenced by operator|=(), and ProcessAPINotes().
|
inline |
Definition at line 195 of file Types.h.
Referenced by operator|=(), and ProcessAPINotes().
|
inline |
Definition at line 205 of file Types.h.
References clang::api_notes::CommonEntityInfo::CommonEntityInfo(), CommonTypeInfo(), getNSErrorDomain(), getSwiftBridge(), getSwiftConformance(), setNSErrorDomain(), setSwiftBridge(), and setSwiftConformance().
|
inline |
Definition at line 190 of file Types.h.
References clang::Domain.
|
inline |
|
inline |
Definition at line 178 of file Types.h.
Referenced by operator|=().
|
inline |
Definition at line 199 of file Types.h.
Referenced by operator|=().
|
friend |
Definition at line 222 of file Types.h.
References clang::api_notes::CommonEntityInfo::CommonEntityInfo(), and CommonTypeInfo().