struct DeclOccurrence

Declaration

struct DeclOccurrence { /* full declaration omitted */ };

Declared at: clang/include/clang/Index/DeclOccurrence.h:23

Member Variables

public clang::index::SymbolRoleSet Roles
public unsigned int Offset
public llvm::PointerUnion<const Decl*, const MacroInfo*> DeclOrMacro
public const clang::IdentifierInfo* MacroName = nullptr
public SmallVector<clang::index::SymbolRelation, 3> Relations

Method Overview

  • public DeclOccurrence(clang::index::SymbolRoleSet R, unsigned int Offset, const clang::Decl * D, ArrayRef<clang::index::SymbolRelation> Relations)
  • public DeclOccurrence(clang::index::SymbolRoleSet R, unsigned int Offset, const clang::IdentifierInfo * Name, const clang::MacroInfo * MI)

Methods

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

Declared at: clang/include/clang/Index/DeclOccurrence.h:30

Parameters

clang::index::SymbolRoleSet R
unsigned int Offset
const clang::Decl* D
ArrayRef<clang::index::SymbolRelation> Relations

DeclOccurrence(clang::index::SymbolRoleSet R,
               unsigned int Offset,
               const clang::IdentifierInfo* Name,
               const clang::MacroInfo* MI)

Declared at: clang/include/clang/Index/DeclOccurrence.h:34

Parameters

clang::index::SymbolRoleSet R
unsigned int Offset
const clang::IdentifierInfo* Name
const clang::MacroInfo* MI