clang  10.0.0svn
Public Member Functions | Public Attributes | Friends | List of all members
clang::index::DeclOccurrence Struct Reference

#include "clang/Index/DeclOccurrence.h"

Collaboration diagram for clang::index::DeclOccurrence:
Collaboration graph
[legend]

Public Member Functions

 DeclOccurrence (SymbolRoleSet R, unsigned Offset, const Decl *D, ArrayRef< SymbolRelation > Relations)
 

Public Attributes

SymbolRoleSet Roles
 
unsigned Offset
 
const DeclDcl
 
SmallVector< SymbolRelation, 3 > Relations
 

Friends

bool operator< (const DeclOccurrence &LHS, const DeclOccurrence &RHS)
 

Detailed Description

Definition at line 22 of file DeclOccurrence.h.

Constructor & Destructor Documentation

◆ DeclOccurrence()

clang::index::DeclOccurrence::DeclOccurrence ( SymbolRoleSet  R,
unsigned  Offset,
const Decl D,
ArrayRef< SymbolRelation Relations 
)
inline

Definition at line 28 of file DeclOccurrence.h.

Friends And Related Function Documentation

◆ operator<

bool operator< ( const DeclOccurrence LHS,
const DeclOccurrence RHS 
)
friend

Definition at line 33 of file DeclOccurrence.h.

Member Data Documentation

◆ Dcl

const Decl* clang::index::DeclOccurrence::Dcl

Definition at line 25 of file DeclOccurrence.h.

◆ Offset

unsigned clang::index::DeclOccurrence::Offset

Definition at line 24 of file DeclOccurrence.h.

◆ Relations

SmallVector<SymbolRelation, 3> clang::index::DeclOccurrence::Relations

Definition at line 26 of file DeclOccurrence.h.

◆ Roles

SymbolRoleSet clang::index::DeclOccurrence::Roles

Definition at line 23 of file DeclOccurrence.h.


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