• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===- PrettyTypedefDumper.h - llvm-pdbutil typedef dumper ---*- 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_TOOLS_LLVMPDBDUMP_PRETTYTYPEDEFDUMPER_H
11 #define LLVM_TOOLS_LLVMPDBDUMP_PRETTYTYPEDEFDUMPER_H
12 
13 #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
14 
15 namespace llvm {
16 namespace pdb {
17 
18 class LinePrinter;
19 
20 class TypedefDumper : public PDBSymDumper {
21 public:
22   TypedefDumper(LinePrinter &P);
23 
24   void start(const PDBSymbolTypeTypedef &Symbol);
25 
26   void dump(const PDBSymbolTypeArray &Symbol) override;
27   void dump(const PDBSymbolTypeBuiltin &Symbol) override;
28   void dump(const PDBSymbolTypeEnum &Symbol) override;
29   void dump(const PDBSymbolTypeFunctionSig &Symbol) override;
30   void dump(const PDBSymbolTypePointer &Symbol) override;
31   void dump(const PDBSymbolTypeUDT &Symbol) override;
32 
33 private:
34   LinePrinter &Printer;
35 };
36 }
37 }
38 
39 #endif
40