brintos

brintos / llvm-project-archived public Read only

0
0
Text · 951 B · fa3c7e2 Raw
30 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef LLVM_CLANG_TOOLS_EXTRA_FIND_ALL_SYMBOLS_SYMBOL_REPORTER_H10#define LLVM_CLANG_TOOLS_EXTRA_FIND_ALL_SYMBOLS_SYMBOL_REPORTER_H11 12#include "SymbolInfo.h"13 14namespace clang {15namespace find_all_symbols {16 17/// An interface for classes that collect symbols.18class SymbolReporter {19public:20  virtual ~SymbolReporter() = default;21 22  virtual void reportSymbols(llvm::StringRef FileName,23                             const SymbolInfo::SignalMap &Symbols) = 0;24};25 26} // namespace find_all_symbols27} // namespace clang28 29#endif // LLVM_CLANG_TOOLS_EXTRA_FIND_ALL_SYMBOLS_SYMBOL_REPORTER_H30