clang-metatool
A framework for reusing code in clang tools
Public Attributes | List of all members
clangmetatool::collectors::ReferencesData Class Reference

#include <clangmetatool/collectors/references_data.h>

Collaboration diagram for clangmetatool::collectors::ReferencesData:
Collaboration graph
[legend]

Public Attributes

std::unordered_multimap< const clang::NamedDecl *, const clang::NamedDecl * > deps
 
std::unordered_multimap< const clang::NamedDecl *, const clang::NamedDecl * > refs
 

Detailed Description

The data collected by the References collector.

Definition at line 16 of file references_data.h.

Member Data Documentation

◆ deps

std::unordered_multimap<const clang::NamedDecl *, const clang::NamedDecl *> clangmetatool::collectors::ReferencesData::deps

Contains all definitions that reference other identifiers. Key is the definition of a class/function/variable. Value is the declaration of an identifier referenced by that class/function/variable.

Definition at line 25 of file references_data.h.

◆ refs

std::unordered_multimap<const clang::NamedDecl *, const clang::NamedDecl *> clangmetatool::collectors::ReferencesData::refs

Contains all references that are used in definitions. (This is the inverse of "deps".) Key is the declaration of the identifier referenced by a class/function/variable. Value is the definition of a class/function/variable that references the Key.

Definition at line 36 of file references_data.h.


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