clang-tools 10.0.0

SymbolReporter.h
Go to the documentation of this file.
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 //===----------------------------------------------------------------------===//
8
9 #ifndef LLVM_CLANG_TOOLS_EXTRA_FIND_ALL_SYMBOLS_SYMBOL_REPORTER_H
10 #define LLVM_CLANG_TOOLS_EXTRA_FIND_ALL_SYMBOLS_SYMBOL_REPORTER_H
11
12 #include "SymbolInfo.h"
13
14 namespace clang {
15 namespace find_all_symbols {
16
17 /// An interface for classes that collect symbols.
18 class SymbolReporter {
19 public:
20 virtual ~SymbolReporter() = default;
21
22 virtual void reportSymbols(llvm::StringRef FileName,
23 const SymbolInfo::SignalMap &Symbols) = 0;
24 };
25
26 } // namespace find_all_symbols
27 } // namespace clang
28
29 #endif // LLVM_CLANG_TOOLS_EXTRA_FIND_ALL_SYMBOLS_SYMBOL_REPORTER_H
clang::find_all_symbols::SymbolReporter::reportSymbols
virtual void reportSymbols(llvm::StringRef FileName, const SymbolInfo::SignalMap &Symbols)=0
SymbolInfo.h
clang::find_all_symbols::SymbolReporter::~SymbolReporter
virtual ~SymbolReporter()=default
FileName
PathRef FileName
Definition: CodeComplete.cpp:1018
Symbols
SymbolSlab Symbols
Definition: SymbolCollectorTests.cpp:295
clang::find_all_symbols::SymbolReporter
An interface for classes that collect symbols.
Definition: SymbolReporter.h:18
clang
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
Definition: ApplyReplacements.h:27
clang::find_all_symbols::SymbolInfo::SignalMap
std::map< SymbolInfo, Signals > SignalMap
Definition: SymbolInfo.h:68