clang-tools  14.0.0git
Public Member Functions | Protected Member Functions | List of all members
clang::find_all_symbols::FindAllSymbols Class Reference

FindAllSymbols collects all classes, free standing functions and global variables with some extra information such as the path of the header file, the namespaces they are contained in, the type of variables and the parameter types of functions. More...

#include <FindAllSymbols.h>

Inheritance diagram for clang::find_all_symbols::FindAllSymbols:
Inheritance graph
[legend]
Collaboration diagram for clang::find_all_symbols::FindAllSymbols:
Collaboration graph
[legend]

Public Member Functions

 FindAllSymbols (SymbolReporter *Reporter, HeaderMapCollector *Collector=nullptr)
 
void registerMatchers (ast_matchers::MatchFinder *MatchFinder)
 
void run (const ast_matchers::MatchFinder::MatchResult &result) override
 

Protected Member Functions

void onEndOfTranslationUnit () override
 

Detailed Description

FindAllSymbols collects all classes, free standing functions and global variables with some extra information such as the path of the header file, the namespaces they are contained in, the type of variables and the parameter types of functions.

NOTE:

Definition at line 34 of file FindAllSymbols.h.

Constructor & Destructor Documentation

◆ FindAllSymbols()

clang::find_all_symbols::FindAllSymbols::FindAllSymbols ( SymbolReporter Reporter,
HeaderMapCollector Collector = nullptr 
)
inlineexplicit

Definition at line 36 of file FindAllSymbols.h.

Member Function Documentation

◆ onEndOfTranslationUnit()

void clang::find_all_symbols::FindAllSymbols::onEndOfTranslationUnit ( )
overrideprotected

Definition at line 260 of file FindAllSymbols.cpp.

References Filename.

◆ registerMatchers()

void clang::find_all_symbols::FindAllSymbols::registerMatchers ( ast_matchers::MatchFinder *  MatchFinder)

◆ run()

void clang::find_all_symbols::FindAllSymbols::run ( const ast_matchers::MatchFinder::MatchResult &  result)
override

Definition at line 237 of file FindAllSymbols.cpp.


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