clang 20.0.0git
|
Describes a function or method parameter. More...
#include "clang/APINotes/Types.h"
Public Member Functions | |
ParamInfo () | |
std::optional< bool > | isNoEscape () const |
void | setNoEscape (std::optional< bool > Value) |
std::optional< RetainCountConventionKind > | getRetainCountConvention () const |
void | setRetainCountConvention (std::optional< RetainCountConventionKind > Value) |
ParamInfo & | operator|= (const ParamInfo &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 ParamInfo &, const ParamInfo &) |
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::ParamInfo::dump | ( | llvm::raw_ostream & | OS | ) | const |
Definition at line 64 of file APINotesTypes.cpp.
References clang::api_notes::VariableInfo::dump().
|
inline |
Definition at line 447 of file Types.h.
Referenced by ProcessAPINotes(), and setRetainCountConvention().
|
inline |
Definition at line 437 of file Types.h.
Referenced by ProcessAPINotes().
|
inline |
|
inline |
Definition at line 453 of file Types.h.
References getRetainCountConvention().