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())
 EnumValueInfo (const EnumValueInfo &Other, llvm::BumpPtrAllocator &Arena)
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 696 of file Representation.h.

Constructor & Destructor Documentation

◆ EnumValueInfo() [1/2]

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

Definition at line 697 of file Representation.h.

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

Referenced by EnumValueInfo(), and operator==().

◆ EnumValueInfo() [2/2]

clang::doc::EnumValueInfo::EnumValueInfo ( const EnumValueInfo & Other,
llvm::BumpPtrAllocator & Arena )

Definition at line 571 of file Representation.cpp.

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

Member Function Documentation

◆ operator==()

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

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

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

◆ Name

◆ Value

◆ ValueExpr


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