Go to the documentation of this file.
10 #include "llvm/Support/raw_ostream.h"
18 OS <<
"[UnavailableInSwift] ";
19 if (SwiftPrivateSpecified)
20 OS << (SwiftPrivate ?
"[SwiftPrivate] " :
"");
29 OS <<
"Swift Briged Type: " << *SwiftBridge <<
' ';
31 OS <<
"NSError Domain: " << *NSErrorDomain <<
' ';
37 if (HasDefaultNullability)
38 OS <<
"DefaultNullability: " << DefaultNullability <<
' ';
39 if (HasDesignatedInits)
40 OS <<
"[HasDesignatedInits] ";
41 if (SwiftImportAsNonGenericSpecified)
42 OS << (SwiftImportAsNonGeneric ?
"[SwiftImportAsNonGeneric] " :
"");
43 if (SwiftObjCMembersSpecified)
44 OS << (SwiftObjCMembers ?
"[SwiftObjCMembers] " :
"");
50 if (NullabilityAudited)
51 OS <<
"Audited Nullability: " << Nullable <<
' ';
53 OS <<
"C Type: " <<
Type <<
' ';
59 if (SwiftImportAsAccessorsSpecified)
60 OS << (SwiftImportAsAccessors ?
"[SwiftImportAsAccessors] " :
"");
66 if (NoEscapeSpecified)
67 OS << (NoEscape ?
"[NoEscape] " :
"");
68 OS <<
"RawRetainCountConvention: " << RawRetainCountConvention <<
' ';
93 OS << (IsFlagEnum ?
"[FlagEnum] " :
"");
95 OS <<
"Enum Extensibility: " <<
static_cast<long>(*EnumExtensibility)
103 OS <<
"Swift Type: " <<
static_cast<long>(*SwiftWrapper) <<
' ';
unsigned RequiredInit
Whether this is a required initializer.
LLVM_DUMP_METHOD void dump(llvm::raw_ostream &OS) const
LLVM_DUMP_METHOD void dump(llvm::raw_ostream &OS) const
Describes API notes data for any entity.
unsigned Unavailable
Whether this entity is marked unavailable.
API notes for a variable/property.
The base class of the type hierarchy.
unsigned DesignatedInit
Whether this is a designated initializer of its class.
unsigned RawRetainCountConvention
A biased RetainCountConventionKind, where 0 means "unspecified".
LLVM_DUMP_METHOD void dump(llvm::raw_ostream &OS) const
std::string UnavailableMsg
Message to use when this entity is unavailable.
std::string ResultType
The result type of this function, as a C type.
LLVM_DUMP_METHOD void dump(llvm::raw_ostream &OS) const
std::optional< EnumExtensibilityKind > EnumExtensibility
LLVM_DUMP_METHOD void dump(llvm::raw_ostream &OS)
unsigned NullabilityAudited
Whether the signature has been audited with respect to nullability.
unsigned UnavailableInSwift
Whether this entity is marked unavailable in Swift.
LLVM_DUMP_METHOD void dump(llvm::raw_ostream &OS) const
LLVM_DUMP_METHOD void dump(llvm::raw_ostream &OS)
std::vector< ParamInfo > Params
The function parameters.
Describes API notes for types.
std::string SwiftName
Swift name of this entity.
LLVM_DUMP_METHOD void dump(llvm::raw_ostream &OS) const
std::optional< SwiftNewTypeKind > SwiftWrapper
LLVM_DUMP_METHOD void dump(llvm::raw_ostream &OS)
LLVM_DUMP_METHOD void dump(llvm::raw_ostream &OS) const
API notes for a function or method.