9#ifndef LLVM_CLANG_TOOLS_EXTRA_FIND_ALL_SYMBOLS_SYMBOL_MATCHER_H
10#define LLVM_CLANG_TOOLS_EXTRA_FIND_ALL_SYMBOLS_SYMBOL_MATCHER_H
14#include "clang/ASTMatchers/ASTMatchFinder.h"
18namespace find_all_symbols {
20class HeaderMapCollector;
38 : Reporter(Reporter), Collector(Collector) {}
42 void run(
const ast_matchers::MatchFinder::MatchResult &result)
override;
FindAllSymbols collects all classes, free standing functions and global variables with some extra inf...
void registerMatchers(ast_matchers::MatchFinder *MatchFinder)
FindAllSymbols(SymbolReporter *Reporter, HeaderMapCollector *Collector=nullptr)
void onEndOfTranslationUnit() override
std::map< SymbolInfo, Signals > SignalMap
An interface for classes that collect symbols.
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//