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

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

#include "clang/APINotes/Types.h"

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

Public Member Functions

 TagInfo ()
 
llvm::Optional< boolisFlagEnum () const
 
void setFlagEnum (llvm::Optional< bool > Value)
 
TagInfooperator|= (const TagInfo &RHS)
 
LLVM_DUMP_METHOD void dump (llvm::raw_ostream &OS)
 
- 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< EnumExtensibilityKindEnumExtensibility
 
- 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 TagInfo &, const TagInfo &)
 

Detailed Description

Describes API notes data for a tag.

Definition at line 658 of file Types.h.

Constructor & Destructor Documentation

◆ TagInfo()

clang::api_notes::TagInfo::TagInfo ( )
inline

Definition at line 665 of file Types.h.

Member Function Documentation

◆ dump()

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

◆ isFlagEnum()

llvm::Optional<bool> clang::api_notes::TagInfo::isFlagEnum ( ) const
inline

Definition at line 667 of file Types.h.

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

◆ operator|=()

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

Definition at line 677 of file Types.h.

References EnumExtensibility, isFlagEnum(), and setFlagEnum().

◆ setFlagEnum()

void clang::api_notes::TagInfo::setFlagEnum ( llvm::Optional< bool Value)
inline

Definition at line 672 of file Types.h.

Referenced by operator|=().

Friends And Related Function Documentation

◆ operator==

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

Definition at line 694 of file Types.h.

Member Data Documentation

◆ EnumExtensibility

llvm::Optional<EnumExtensibilityKind> clang::api_notes::TagInfo::EnumExtensibility

Definition at line 663 of file Types.h.

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


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