class CommonEntityInfo

Declaration

class CommonEntityInfo { /* full declaration omitted */ };

Description

Describes API notes data for any entity. This is used as the base of all API notes.

Declared at: clang/include/clang/APINotes/Types.h:47

Member Variables

public std::string UnavailableMsg
Message to use when this entity is unavailable.
public unsigned int Unavailable
Whether this entity is marked unavailable.
public unsigned int UnavailableInSwift
Whether this entity is marked unavailable in Swift.
private unsigned int SwiftPrivateSpecified
Whether SwiftPrivate was specified.
private unsigned int SwiftPrivate
Whether this entity is considered "private" to a Swift overlay.
public std::string SwiftName
Swift name of this entity.

Method Overview

Methods

CommonEntityInfo()

Declared at: clang/include/clang/APINotes/Types.h:69

void dump(llvm::raw_ostream& OS) const

Declared at: clang/include/clang/APINotes/Types.h:108

Parameters

llvm::raw_ostream& OS

llvm::Optional<bool> isSwiftPrivate() const

Declared at: clang/include/clang/APINotes/Types.h:73

void setSwiftPrivate(llvm::Optional<bool> Private)

Declared at: clang/include/clang/APINotes/Types.h:78

Parameters

llvm::Optional<bool> Private