1 | //===- PrettyEnumDumper.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 | //===----------------------------------------------------------------------===// |
8 | |
9 | #ifndef LLVM_TOOLS_LLVMPDBDUMP_PRETTYENUMDUMPER_H |
10 | #define LLVM_TOOLS_LLVMPDBDUMP_PRETTYENUMDUMPER_H |
11 | |
12 | #include "llvm/DebugInfo/PDB/PDBSymDumper.h" |
13 | |
14 | namespace llvm { |
15 | namespace pdb { |
16 | |
17 | class LinePrinter; |
18 | |
19 | class EnumDumper : public PDBSymDumper { |
20 | public: |
21 | EnumDumper(LinePrinter &P); |
22 | |
23 | void start(const PDBSymbolTypeEnum &Symbol); |
24 | |
25 | private: |
26 | LinePrinter &Printer; |
27 | }; |
28 | } |
29 | } |
30 | #endif |
31 | |