clang
15.0.0git
|
Describes API notes data for an Objective-C class or protocol. More...
#include "clang/APINotes/Types.h"
Public Member Functions | |
ObjCContextInfo () | |
llvm::Optional< NullabilityKind > | getDefaultNullability () const |
Determine the default nullability for properties and methods of this class. More... | |
void | setDefaultNullability (NullabilityKind Kind) |
Set the default nullability for properties and methods of this class. More... | |
bool | hasDesignatedInits () const |
void | setHasDesignatedInits (bool Value) |
llvm::Optional< bool > | getSwiftImportAsNonGeneric () const |
void | setSwiftImportAsNonGeneric (llvm::Optional< bool > Value) |
llvm::Optional< bool > | getSwiftObjCMembers () const |
void | setSwiftObjCMembers (llvm::Optional< bool > Value) |
void | stripModuleLocalInfo () |
Strip off any information within the class information structure that is module-local, such as 'audited' flags. More... | |
ObjCContextInfo & | operator|= (const ObjCContextInfo &RHS) |
LLVM_DUMP_METHOD void | dump (llvm::raw_ostream &OS) |
![]() | |
CommonTypeInfo () | |
const llvm::Optional< std::string > & | getSwiftBridge () const |
void | setSwiftBridge (const llvm::Optional< std::string > &SwiftType) |
void | setSwiftBridge (const llvm::Optional< llvm::StringRef > &SwiftType) |
const llvm::Optional< std::string > & | getNSErrorDomain () const |
void | setNSErrorDomain (const llvm::Optional< std::string > &Domain) |
void | setNSErrorDomain (const llvm::Optional< llvm::StringRef > &Domain) |
CommonTypeInfo & | operator|= (const CommonTypeInfo &RHS) |
LLVM_DUMP_METHOD void | dump (llvm::raw_ostream &OS) const |
![]() | |
CommonEntityInfo () | |
llvm::Optional< bool > | isSwiftPrivate () const |
void | setSwiftPrivate (llvm::Optional< bool > Private) |
CommonEntityInfo & | operator|= (const CommonEntityInfo &RHS) |
LLVM_DUMP_METHOD void | dump (llvm::raw_ostream &OS) const |
Friends | |
bool | operator== (const ObjCContextInfo &, const ObjCContextInfo &) |
Additional Inherited Members | |
![]() | |
std::string | UnavailableMsg |
Message to use when this entity is unavailable. More... | |
unsigned | Unavailable: 1 |
Whether this entity is marked unavailable. More... | |
unsigned | UnavailableInSwift: 1 |
Whether this entity is marked unavailable in Swift. More... | |
std::string | SwiftName |
Swift name of this entity. More... | |
Describes API notes data for an Objective-C class or protocol.
|
inline |
LLVM_DUMP_METHOD void clang::api_notes::ObjCContextInfo::dump | ( | llvm::raw_ostream & | OS | ) |
Definition at line 35 of file APINotesTypes.cpp.
References clang::api_notes::CommonTypeInfo::dump().
|
inline |
Determine the default nullability for properties and methods of this class.
eturns the default nullability, if implied, or None if there is no
Definition at line 219 of file Types.h.
Referenced by clang::api_notes::operator==(), operator|=(), clang::api_notes::ObjCPropertyInfo::operator|=(), and clang::api_notes::ObjCMethodInfo::operator|=().
|
inline |
Definition at line 235 of file Types.h.
Referenced by clang::api_notes::operator==(), and operator|=().
|
inline |
Definition at line 245 of file Types.h.
Referenced by clang::api_notes::operator==(), and operator|=().
|
inline |
|
inline |
Definition at line 263 of file Types.h.
References getDefaultNullability(), getSwiftImportAsNonGeneric(), getSwiftObjCMembers(), setDefaultNullability(), setSwiftImportAsNonGeneric(), and setSwiftObjCMembers().
|
inline |
Set the default nullability for properties and methods of this class.
Definition at line 227 of file Types.h.
Referenced by operator|=().
|
inline |
|
inline |
Definition at line 240 of file Types.h.
Referenced by operator|=().
|
inline |
Definition at line 249 of file Types.h.
Referenced by operator|=().
|
inline |
|
friend |