clang 20.0.0git
|
Describes API notes data for an Objective-C property. More...
#include "clang/APINotes/Types.h"
Public Member Functions | |
ObjCPropertyInfo () | |
std::optional< bool > | getSwiftImportAsAccessors () const |
void | setSwiftImportAsAccessors (std::optional< bool > Value) |
ObjCPropertyInfo & | operator|= (const ContextInfo &RHS) |
Merge class-wide information into the given property. | |
ObjCPropertyInfo & | operator|= (const ObjCPropertyInfo &RHS) |
LLVM_DUMP_METHOD void | dump (llvm::raw_ostream &OS) const |
Public Member Functions inherited from clang::api_notes::VariableInfo | |
VariableInfo () | |
std::optional< NullabilityKind > | getNullability () const |
void | setNullabilityAudited (NullabilityKind kind) |
const std::string & | getType () const |
void | setType (const std::string &type) |
VariableInfo & | operator|= (const VariableInfo &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 ObjCPropertyInfo &, const ObjCPropertyInfo &) |
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 |
LLVM_DUMP_METHOD void clang::api_notes::ObjCPropertyInfo::dump | ( | llvm::raw_ostream & | OS | ) | const |
Definition at line 57 of file APINotesTypes.cpp.
References clang::api_notes::VariableInfo::dump().
|
inline |
Definition at line 371 of file Types.h.
Referenced by operator|=(), and ProcessAPINotes().
|
inline |
Merge class-wide information into the given property.
Definition at line 384 of file Types.h.
References clang::api_notes::ContextInfo::getDefaultNullability(), clang::api_notes::VariableInfo::getNullability(), clang::Nullable, and clang::api_notes::VariableInfo::setNullabilityAudited().
|
inline |
Definition at line 395 of file Types.h.
References getSwiftImportAsAccessors(), and setSwiftImportAsAccessors().
|
inline |
Definition at line 376 of file Types.h.
Referenced by operator|=().
|
friend |