clang-tools 8.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.
19 class SymbolReporter {
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
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:1004
clang::find_all_symbols::SymbolReporter
An interface for classes that collect symbols.
Definition: SymbolReporter.h:19
clang
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
Definition: ChangeNamespace.cpp:18
clang::find_all_symbols::SymbolInfo::SignalMap
std::map< SymbolInfo, Signals > SignalMap
Definition: SymbolInfo.h:69