1 //===- PrettyBuiltinDumper.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_PRETTYBUILTINDUMPER_H
10 #define LLVM_TOOLS_LLVMPDBDUMP_PRETTYBUILTINDUMPER_H
11 
12 #include "llvm/ADT/StringRef.h"
13 #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
14 
15 namespace llvm {
16 namespace pdb {
17 
18 class LinePrinter;
19 
20 class BuiltinDumper : public PDBSymDumper {
21 public:
22   BuiltinDumper(LinePrinter &P);
23 
24   void start(const PDBSymbolTypeBuiltin &Symbol);
25 
26 private:
27   StringRef getTypeName(const PDBSymbolTypeBuiltin &Symbol);
28 
29   LinePrinter &Printer;
30 };
31 }
32 }
33 
34 #endif
35