aboutsummaryrefslogtreecommitdiff
path: root/include-fixer/find-all-symbols/SymbolReporter.h
blob: 2398234cf03a42f3bbef66ddd673dcd72f43da44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//===--- SymbolReporter.h - Symbol Reporter ---------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_CLANG_TOOLS_EXTRA_FIND_ALL_SYMBOLS_SYMBOL_REPORTER_H
#define LLVM_CLANG_TOOLS_EXTRA_FIND_ALL_SYMBOLS_SYMBOL_REPORTER_H

#include "SymbolInfo.h"

namespace clang {
namespace find_all_symbols {

/// \brief An interface for classes that collect symbols.
class SymbolReporter {
public:
  virtual ~SymbolReporter() = default;

  virtual void reportSymbols(llvm::StringRef FileName,
                             const SymbolInfo::SignalMap &Symbols) = 0;
};

} // namespace find_all_symbols
} // namespace clang

#endif // LLVM_CLANG_TOOLS_EXTRA_FIND_ALL_SYMBOLS_SYMBOL_REPORTER_H