Fix test failures introduced by PR #113697 (#116941)
[llvm-project.git] / llvm / tools / llvm-pdbutil / PrettyTypeDumper.h
blobb6539d95bf31bebb6a0bc786e7433dc8e709468d
1 //===- PrettyTypeDumper.h - PDBSymDumper implementation for types *- 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_PRETTYTYPEDUMPER_H
10 #define LLVM_TOOLS_LLVMPDBDUMP_PRETTYTYPEDUMPER_H
12 #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
14 namespace llvm {
15 namespace pdb {
16 class LinePrinter;
17 class ClassLayout;
19 class TypeDumper : public PDBSymDumper {
20 public:
21 TypeDumper(LinePrinter &P);
23 void start(const PDBSymbolExe &Exe);
25 void dump(const PDBSymbolTypeEnum &Symbol) override;
26 void dump(const PDBSymbolTypeTypedef &Symbol) override;
27 void dump(const PDBSymbolTypeFunctionSig &Symbol) override;
28 void dump(const PDBSymbolTypeArray &Symbol) override;
29 void dump(const PDBSymbolTypeBuiltin &Symbol) override;
30 void dump(const PDBSymbolTypePointer &Symbol) override;
31 void dump(const PDBSymbolTypeVTableShape &Symbol) override;
32 void dump(const PDBSymbolTypeUDT &Symbol) override;
34 void dumpClassLayout(const ClassLayout &Class);
36 private:
37 LinePrinter &Printer;
41 #endif