clang-tools 22.0.0git
clang::doc::EnumValueInfo Struct Reference

#include <Representation.h>

Public Member Functions

 EnumValueInfo (StringRef Name=StringRef(), StringRef Value=StringRef("0"), StringRef ValueExpr=StringRef())
bool operator== (const EnumValueInfo &Other) const

Public Attributes

SmallString< 16 > Name
SmallString< 16 > Value
SmallString< 16 > ValueExpr
std::vector< CommentInfoDescription
 Comment description of this field.

Detailed Description

Definition at line 526 of file Representation.h.

Constructor & Destructor Documentation

◆ EnumValueInfo()

clang::doc::EnumValueInfo::EnumValueInfo ( StringRef Name = StringRef(),
StringRef Value = StringRef("0"),
StringRef ValueExpr = StringRef() )
inlineexplicit

Definition at line 527 of file Representation.h.

References Name, Value, and ValueExpr.

Referenced by operator==().

Member Function Documentation

◆ operator==()

bool clang::doc::EnumValueInfo::operator== ( const EnumValueInfo & Other) const
inline

Definition at line 532 of file Representation.h.

References EnumValueInfo(), Name, Value, and ValueExpr.

Member Data Documentation

◆ Description

std::vector<CommentInfo> clang::doc::EnumValueInfo::Description

Comment description of this field.

Definition at line 549 of file Representation.h.

Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::getCommentInfo(), and clang::doc::serialize::parseEnumerators().

◆ Name

◆ Value

◆ ValueExpr


The documentation for this struct was generated from the following file: