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

#include <Representation.h>

Inheritance diagram for clang::doc::Context:
[legend]

Public Member Functions

 Context (SymbolID USR, StringRef Name, InfoType IT, StringRef QualName, StringRef Path, SmallString< 16 > DocumentationFileName)
 Context (const Info &I)
Public Member Functions inherited from clang::doc::Reference
 Reference (SymbolID USR=SymbolID(), StringRef Name=StringRef(), InfoType IT=InfoType::IT_default)
 Reference (SymbolID USR, StringRef Name, InfoType IT, StringRef QualName, StringRef Path=StringRef())
 Reference (SymbolID USR, StringRef Name, InfoType IT, StringRef QualName, StringRef Path, SmallString< 16 > DocumentationFileName)
bool operator== (const Reference &Other) const
bool mergeable (const Reference &Other)
void merge (Reference &&I)
bool operator< (const Reference &Other) const
llvm::SmallString< 64 > getRelativeFilePath (const StringRef &CurrentPath) const
 Returns the path for this Reference relative to CurrentPath.
llvm::SmallString< 16 > getFileBaseName () const
 Returns the basename that should be used for this Reference.

Public Attributes

SmallString< 128 > RelativePath
Public Attributes inherited from clang::doc::Reference
SymbolID USR = SymbolID()
InfoType RefType = InfoType::IT_default
SmallString< 16 > Name
SmallString< 16 > QualName
llvm::SmallString< 128 > Path
SmallString< 16 > DocumentationFileName

Detailed Description

Definition at line 170 of file Representation.h.

Constructor & Destructor Documentation

◆ Context() [1/2]

clang::doc::Context::Context ( SymbolID USR,
StringRef Name,
InfoType IT,
StringRef QualName,
StringRef Path,
SmallString< 16 > DocumentationFileName )
inline

◆ Context() [2/2]

Member Data Documentation

◆ RelativePath

SmallString<128> clang::doc::Context::RelativePath

Definition at line 175 of file Representation.h.


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