[llvm-objdump] - Remove one overload of reportError. NFCI.
[llvm-complete.git] / tools / llvm-pdbutil / PrettyTypedefDumper.h
blobad8b3f37dcfd40d11f8d1d7eb536837d0c8bdec9
1 //===- PrettyTypedefDumper.h - llvm-pdbutil typedef dumper ---*- 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_TOOLS_LLVMPDBDUMP_PRETTYTYPEDEFDUMPER_H
10 #define LLVM_TOOLS_LLVMPDBDUMP_PRETTYTYPEDEFDUMPER_H
12 #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
14 namespace llvm {
15 namespace pdb {
17 class LinePrinter;
19 class TypedefDumper : public PDBSymDumper {
20 public:
21 TypedefDumper(LinePrinter &P);
23 void start(const PDBSymbolTypeTypedef &Symbol);
25 void dump(const PDBSymbolTypeArray &Symbol) override;
26 void dump(const PDBSymbolTypeBuiltin &Symbol) override;
27 void dump(const PDBSymbolTypeEnum &Symbol) override;
28 void dump(const PDBSymbolTypeFunctionSig &Symbol) override;
29 void dump(const PDBSymbolTypePointer &Symbol) override;
30 void dump(const PDBSymbolTypeUDT &Symbol) override;
32 private:
33 LinePrinter &Printer;
38 #endif