clang-tools  7.0.0
SymbolReporter.h
Go to the documentation of this file.
1 //===--- SymbolReporter.h - Symbol Reporter ---------------------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef LLVM_CLANG_TOOLS_EXTRA_FIND_ALL_SYMBOLS_SYMBOL_REPORTER_H
11 #define LLVM_CLANG_TOOLS_EXTRA_FIND_ALL_SYMBOLS_SYMBOL_REPORTER_H
12 
13 #include "SymbolInfo.h"
14 
15 namespace clang {
16 namespace find_all_symbols {
17 
18 /// \brief An interface for classes that collect symbols.
20 public:
21  virtual ~SymbolReporter() = default;
22 
23  virtual void reportSymbols(llvm::StringRef FileName,
24  const SymbolInfo::SignalMap &Symbols) = 0;
25 };
26 
27 } // namespace find_all_symbols
28 } // namespace clang
29 
30 #endif // LLVM_CLANG_TOOLS_EXTRA_FIND_ALL_SYMBOLS_SYMBOL_REPORTER_H
virtual void reportSymbols(llvm::StringRef FileName, const SymbolInfo::SignalMap &Symbols)=0
PathRef FileName
An interface for classes that collect symbols.
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
std::map< SymbolInfo, Signals > SignalMap
Definition: SymbolInfo.h:69