clang-tools 23.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

StringRef Name
StringRef Value
StringRef ValueExpr
OwningVec< CommentInfoDescription
 Comment description of this field.

Detailed Description

Definition at line 655 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 656 of file Representation.h.

References clang::doc::internString(), Name, Value, and ValueExpr.

Referenced by operator==().

Member Function Documentation

◆ operator==()

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

Definition at line 662 of file Representation.h.

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

Member Data Documentation

◆ Description

OwningVec<CommentInfo> clang::doc::EnumValueInfo::Description

Comment description of this field.

Definition at line 679 of file Representation.h.

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

◆ Name

◆ Value

◆ ValueExpr


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