clang 20.0.0git
|
Describes API notes data for any entity. More...
#include "clang/APINotes/Types.h"
Public Member Functions | |
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 |
Public Attributes | |
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. | |
Friends | |
bool | operator== (const CommonEntityInfo &, const CommonEntityInfo &) |
Describes API notes data for any entity.
This is used as the base of all API notes.
|
inline |
LLVM_DUMP_METHOD void clang::api_notes::CommonEntityInfo::dump | ( | llvm::raw_ostream & | OS | ) | const |
Definition at line 14 of file APINotesTypes.cpp.
References SwiftName, Unavailable, UnavailableInSwift, and UnavailableMsg.
Referenced by clang::api_notes::CommonTypeInfo::dump(), clang::api_notes::VariableInfo::dump(), and clang::api_notes::FunctionInfo::dump().
|
inline |
Definition at line 82 of file Types.h.
Referenced by operator|=(), and ProcessAPINotes().
|
inline |
Definition at line 94 of file Types.h.
References isSwiftPrivate(), setSwiftPrivate(), SwiftName, Unavailable, UnavailableInSwift, and UnavailableMsg.
|
inline |
|
friend |
std::string clang::api_notes::CommonEntityInfo::SwiftName |
Swift name of this entity.
Definition at line 76 of file Types.h.
Referenced by dump(), operator|=(), and ProcessAPINotes().
unsigned clang::api_notes::CommonEntityInfo::Unavailable |
Whether this entity is marked unavailable.
Definition at line 59 of file Types.h.
Referenced by dump(), operator|=(), and ProcessAPINotes().
unsigned clang::api_notes::CommonEntityInfo::UnavailableInSwift |
Whether this entity is marked unavailable in Swift.
Definition at line 63 of file Types.h.
Referenced by dump(), operator|=(), and ProcessAPINotes().
std::string clang::api_notes::CommonEntityInfo::UnavailableMsg |
Message to use when this entity is unavailable.
Definition at line 55 of file Types.h.
Referenced by dump(), operator|=(), and ProcessAPINotes().