clang 22.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) |
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 VariableInfo &LHS, const VariableInfo &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 356 of file Types.h.
References false.
Referenced by clang::api_notes::ObjCPropertyInfo::dump(), clang::api_notes::ParamInfo::dump(), clang::api_notes::ObjCPropertyInfo::operator==, clang::api_notes::ParamInfo::operator==, operator==, clang::api_notes::ObjCPropertyInfo::operator|=(), clang::api_notes::ParamInfo::operator|=(), and operator|=().
LLVM_DUMP_METHOD void clang::api_notes::VariableInfo::dump | ( | llvm::raw_ostream & | OS | ) | const |
Definition at line 63 of file APINotesTypes.cpp.
References clang::api_notes::CommonEntityInfo::CommonEntityInfo().
|
inline |
Definition at line 358 of file Types.h.
Referenced by clang::api_notes::ObjCPropertyInfo::operator|=(), operator|=(), and ProcessAPINotes().
|
inline |
Definition at line 369 of file Types.h.
Referenced by ProcessAPINotes().
|
inline |
Definition at line 374 of file Types.h.
References clang::api_notes::CommonEntityInfo::CommonEntityInfo(), getNullability(), setNullabilityAudited(), and VariableInfo().
|
inline |
Definition at line 364 of file Types.h.
Referenced by clang::api_notes::ObjCPropertyInfo::operator|=(), and operator|=().
|
inline |
Definition at line 370 of file Types.h.
References clang::ast_matchers::type.
|
friend |
Definition at line 388 of file Types.h.
References clang::api_notes::CommonEntityInfo::CommonEntityInfo(), and VariableInfo().