clang 22.0.0git
clang::index::SymbolRelation Struct Reference

Represents a relation to another symbol for a symbol occurrence. More...

#include "clang/Index/IndexSymbol.h"

Public Member Functions

 SymbolRelation (SymbolRoleSet Roles, const Decl *Sym)

Public Attributes

SymbolRoleSet Roles
const DeclRelatedSymbol

Detailed Description

Represents a relation to another symbol for a symbol occurrence.

Definition at line 137 of file IndexSymbol.h.

Constructor & Destructor Documentation

◆ SymbolRelation()

clang::index::SymbolRelation::SymbolRelation ( SymbolRoleSet Roles,
const Decl * Sym )
inline

Definition at line 141 of file IndexSymbol.h.

References RelatedSymbol, and Roles.

Member Data Documentation

◆ RelatedSymbol

const Decl* clang::index::SymbolRelation::RelatedSymbol

Definition at line 139 of file IndexSymbol.h.

Referenced by SymbolRelation().

◆ Roles

SymbolRoleSet clang::index::SymbolRelation::Roles

Definition at line 138 of file IndexSymbol.h.

Referenced by SymbolRelation().


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