[llvm-shlib] Fix the version naming style of libLLVM for Windows (#85710)
[llvm-project.git] / llvm / tools / llvm-pdbutil / PrettyClassDefinitionDumper.h
blob50c8f5dde0cd4e8eb852a67d41a174ead5b99310
1 //===- PrettyClassDefinitionDumper.h ----------------------------*- 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_PRETTYCLASSDEFINITIONDUMPER_H
10 #define LLVM_TOOLS_LLVMPDBDUMP_PRETTYCLASSDEFINITIONDUMPER_H
12 #include "llvm/ADT/BitVector.h"
14 #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
15 #include "llvm/DebugInfo/PDB/PDBSymbolData.h"
16 #include "llvm/DebugInfo/PDB/PDBSymbolFunc.h"
18 #include <memory>
20 namespace llvm {
21 class BitVector;
23 namespace pdb {
25 class ClassLayout;
26 class LinePrinter;
28 class ClassDefinitionDumper : public PDBSymDumper {
29 public:
30 ClassDefinitionDumper(LinePrinter &P);
32 void start(const PDBSymbolTypeUDT &Class);
33 void start(const ClassLayout &Class);
35 private:
36 void prettyPrintClassIntro(const ClassLayout &Class);
37 void prettyPrintClassOutro(const ClassLayout &Class);
39 LinePrinter &Printer;
40 bool DumpedAnything = false;
44 #endif