clang 20.0.0git
|
API notes for a variable/property. More...
#include "clang/APINotes/Types.h"
Public Member Functions | |
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 VariableInfo &, const VariableInfo &) |
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::VariableInfo::dump | ( | llvm::raw_ostream & | OS | ) | const |
Definition at line 48 of file APINotesTypes.cpp.
References clang::api_notes::CommonEntityInfo::dump().
Referenced by clang::api_notes::ObjCPropertyInfo::dump(), and clang::api_notes::ParamInfo::dump().
|
inline |
Definition at line 320 of file Types.h.
Referenced by clang::api_notes::ObjCPropertyInfo::operator|=(), operator|=(), and ProcessAPINotes().
|
inline |
Definition at line 331 of file Types.h.
Referenced by ProcessAPINotes().
|
inline |
Definition at line 336 of file Types.h.
References getNullability(), and setNullabilityAudited().
|
inline |
Definition at line 326 of file Types.h.
Referenced by clang::api_notes::ObjCPropertyInfo::operator|=(), and operator|=().
|
inline |
Definition at line 332 of file Types.h.
References clang::ast_matchers::type.
|
friend |