clang-tools 19.0.0git
Public Member Functions | Public Attributes | List of all members
clang::doc::EnumInfo Struct Reference

#include <Representation.h>

Inheritance diagram for clang::doc::EnumInfo:
Inheritance graph

Public Member Functions

 EnumInfo ()
 EnumInfo (SymbolID USR)
void merge (EnumInfo &&I)
- Public Member Functions inherited from clang::doc::SymbolInfo
 SymbolInfo (InfoType IT, SymbolID USR=SymbolID(), StringRef Name=StringRef(), StringRef Path=StringRef())
void merge (SymbolInfo &&I)
- Public Member Functions inherited from clang::doc::Info
 Info (InfoType IT=InfoType::IT_default, SymbolID USR=SymbolID(), StringRef Name=StringRef(), StringRef Path=StringRef())
 Info (const Info &Other)=delete
 Info (Info &&Other)=default
virtual ~Info ()=default
void mergeBase (Info &&I)
bool mergeable (const Info &Other)
llvm::SmallString< 16 > extractName () const
llvm::SmallString< 64 > getRelativeFilePath (const StringRef &CurrentPath) const
 Returns the file path for this Info relative to CurrentPath.
llvm::SmallString< 16 > getFileBaseName () const
 Returns the basename that should be used for this Info.

Public Attributes

bool Scoped = false
std::optional< TypeInfoBaseType
llvm::SmallVector< EnumValueInfo, 4 > Members
- Public Attributes inherited from clang::doc::SymbolInfo
std::optional< LocationDefLoc
llvm::SmallVector< Location, 2 > Loc
- Public Attributes inherited from clang::doc::Info
SymbolID USR
const InfoType IT = InfoType::IT_default
SmallString< 16 > Name
llvm::SmallVector< Reference, 4 > Namespace
std::vector< CommentInfoDescription
llvm::SmallString< 128 > Path

Detailed Description

Definition at line 438 of file Representation.h.

Constructor & Destructor Documentation

◆ EnumInfo() [1/2]

clang::doc::EnumInfo::EnumInfo ( )

Definition at line 439 of file Representation.h.

◆ EnumInfo() [2/2]

clang::doc::EnumInfo::EnumInfo ( SymbolID  USR)

Definition at line 440 of file Representation.h.

Member Function Documentation

◆ merge()

void clang::doc::EnumInfo::merge ( EnumInfo &&  I)

Definition at line 263 of file Representation.cpp.

References Members, clang::doc::Info::mergeable(), and Scoped.

Member Data Documentation

◆ BaseType

std::optional<TypeInfo> clang::doc::EnumInfo::BaseType

◆ Members

llvm::SmallVector<EnumValueInfo, 4> clang::doc::EnumInfo::Members

◆ Scoped

bool clang::doc::EnumInfo::Scoped = false

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