Bump version to 19.1.0 (final)
[llvm-project.git] / clang-tools-extra / clang-include-fixer / find-all-symbols / SymbolReporter.h
blobfa3c7e29e13aa0f583960444c44601d7100940aa
1 //===--- SymbolReporter.h - Symbol Reporter ---------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_CLANG_TOOLS_EXTRA_FIND_ALL_SYMBOLS_SYMBOL_REPORTER_H
10 #define LLVM_CLANG_TOOLS_EXTRA_FIND_ALL_SYMBOLS_SYMBOL_REPORTER_H
12 #include "SymbolInfo.h"
14 namespace clang {
15 namespace find_all_symbols {
17 /// An interface for classes that collect symbols.
18 class SymbolReporter {
19 public:
20 virtual ~SymbolReporter() = default;
22 virtual void reportSymbols(llvm::StringRef FileName,
23 const SymbolInfo::SignalMap &Symbols) = 0;
26 } // namespace find_all_symbols
27 } // namespace clang
29 #endif // LLVM_CLANG_TOOLS_EXTRA_FIND_ALL_SYMBOLS_SYMBOL_REPORTER_H