clang-tools  10.0.0svn
Public Member Functions | Public Attributes | List of all members
clang::doc::SymbolInfo Struct Reference

#include <Representation.h>

Inheritance diagram for clang::doc::SymbolInfo:
Inheritance graph
[legend]
Collaboration diagram for clang::doc::SymbolInfo:
Collaboration graph
[legend]

Public Member Functions

 SymbolInfo (InfoType IT)
 
 SymbolInfo (InfoType IT, SymbolID USR)
 
 SymbolInfo (InfoType IT, SymbolID USR, StringRef Name)
 
 SymbolInfo (InfoType IT, SymbolID USR, StringRef Name, StringRef Path)
 
void merge (SymbolInfo &&I)
 
- Public Member Functions inherited from clang::doc::Info
 Info ()=default
 
 Info (InfoType IT)
 
 Info (InfoType IT, SymbolID USR)
 
 Info (InfoType IT, SymbolID USR, StringRef Name)
 
 Info (InfoType IT, SymbolID USR, StringRef Name, StringRef Path)
 
 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::Expected< ReferencegetEnclosingScope ()
 

Public Attributes

llvm::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 292 of file Representation.h.

Constructor & Destructor Documentation

◆ SymbolInfo() [1/4]

clang::doc::SymbolInfo::SymbolInfo ( InfoType  IT)
inline

Definition at line 293 of file Representation.h.

◆ SymbolInfo() [2/4]

clang::doc::SymbolInfo::SymbolInfo ( InfoType  IT,
SymbolID  USR 
)
inline

Definition at line 294 of file Representation.h.

◆ SymbolInfo() [3/4]

clang::doc::SymbolInfo::SymbolInfo ( InfoType  IT,
SymbolID  USR,
StringRef  Name 
)
inline

Definition at line 295 of file Representation.h.

◆ SymbolInfo() [4/4]

clang::doc::SymbolInfo::SymbolInfo ( InfoType  IT,
SymbolID  USR,
StringRef  Name,
StringRef  Path 
)
inline

Definition at line 296 of file Representation.h.

Member Function Documentation

◆ merge()

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

Member Data Documentation

◆ DefLoc

llvm::Optional<Location> clang::doc::SymbolInfo::DefLoc

◆ Loc

llvm::SmallVector<Location, 2> clang::doc::SymbolInfo::Loc

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