clang 22.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< bool > | isLifetimebound () const |
void | setLifetimebound (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) |
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 ParamInfo &LHS, const ParamInfo &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 480 of file Types.h.
References false.
Referenced by operator==, and operator|=().
LLVM_DUMP_METHOD void clang::api_notes::ParamInfo::dump | ( | llvm::raw_ostream & | OS | ) | const |
Definition at line 79 of file APINotesTypes.cpp.
References clang::api_notes::VariableInfo::VariableInfo().
|
inline |
Definition at line 502 of file Types.h.
Referenced by ProcessAPINotes(), and setRetainCountConvention().
|
inline |
Definition at line 493 of file Types.h.
Referenced by ProcessAPINotes().
|
inline |
Definition at line 485 of file Types.h.
Referenced by ProcessAPINotes().
Definition at line 513 of file Types.h.
References ParamInfo(), and clang::api_notes::VariableInfo::VariableInfo().
|
inline |
|
inline |
|
inline |
Definition at line 508 of file Types.h.
References getRetainCountConvention().
Definition at line 537 of file Types.h.
References ParamInfo(), and clang::api_notes::VariableInfo::VariableInfo().