clang  14.0.0git
Public Member Functions | Public Attributes | Friends | List of all members
clang::api_notes::TypedefInfo Class Reference

Describes API notes data for a typedef. More...

#include "clang/APINotes/Types.h"

Inheritance diagram for clang::api_notes::TypedefInfo:
Inheritance graph
[legend]
Collaboration diagram for clang::api_notes::TypedefInfo:
Collaboration graph
[legend]

Public Member Functions

 TypedefInfo ()
 
TypedefInfooperator|= (const TypedefInfo &RHS)
 
LLVM_DUMP_METHOD void dump (llvm::raw_ostream &OS) const
 
- Public Member Functions inherited from clang::api_notes::CommonTypeInfo
 CommonTypeInfo ()
 
const llvm::Optional< std::string > & getSwiftBridge () const
 
void setSwiftBridge (const llvm::Optional< std::string > &SwiftType)
 
void setSwiftBridge (const llvm::Optional< llvm::StringRef > &SwiftType)
 
const llvm::Optional< std::string > & getNSErrorDomain () const
 
void setNSErrorDomain (const llvm::Optional< std::string > &Domain)
 
void setNSErrorDomain (const llvm::Optional< llvm::StringRef > &Domain)
 
CommonTypeInfooperator|= (const CommonTypeInfo &RHS)
 
LLVM_DUMP_METHOD void dump (llvm::raw_ostream &OS) const
 
- Public Member Functions inherited from clang::api_notes::CommonEntityInfo
 CommonEntityInfo ()
 
llvm::Optional< boolisSwiftPrivate () const
 
void setSwiftPrivate (llvm::Optional< bool > Private)
 
CommonEntityInfooperator|= (const CommonEntityInfo &RHS)
 
LLVM_DUMP_METHOD void dump (llvm::raw_ostream &OS) const
 

Public Attributes

llvm::Optional< SwiftNewTypeKindSwiftWrapper
 
- Public Attributes inherited from clang::api_notes::CommonEntityInfo
std::string UnavailableMsg
 Message to use when this entity is unavailable. More...
 
unsigned Unavailable: 1
 Whether this entity is marked unavailable. More...
 
unsigned UnavailableInSwift: 1
 Whether this entity is marked unavailable in Swift. More...
 
std::string SwiftName
 Swift name of this entity. More...
 

Friends

bool operator== (const TypedefInfo &, const TypedefInfo &)
 

Detailed Description

Describes API notes data for a typedef.

Definition at line 705 of file Types.h.

Constructor & Destructor Documentation

◆ TypedefInfo()

clang::api_notes::TypedefInfo::TypedefInfo ( )
inline

Definition at line 709 of file Types.h.

Member Function Documentation

◆ dump()

LLVM_DUMP_METHOD void clang::api_notes::TypedefInfo::dump ( llvm::raw_ostream &  OS) const

Definition at line 100 of file APINotesTypes.cpp.

References clang::api_notes::CommonTypeInfo::dump(), and SwiftWrapper.

◆ operator|=()

TypedefInfo& clang::api_notes::TypedefInfo::operator|= ( const TypedefInfo RHS)
inline

Definition at line 711 of file Types.h.

References SwiftWrapper.

Friends And Related Function Documentation

◆ operator==

bool operator== ( const TypedefInfo LHS,
const TypedefInfo RHS 
)
friend

Definition at line 723 of file Types.h.

Member Data Documentation

◆ SwiftWrapper

llvm::Optional<SwiftNewTypeKind> clang::api_notes::TypedefInfo::SwiftWrapper

Definition at line 707 of file Types.h.

Referenced by dump(), clang::api_notes::operator==(), and operator|=().


The documentation for this class was generated from the following files: