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
15namespace llvm {
16namespace pdb {
17
18class LinePrinter;
19
20class BuiltinDumper : public PDBSymDumper {
21public:
22 BuiltinDumper(LinePrinter &P);
23
24 void start(const PDBSymbolTypeBuiltin &Symbol);
25
26private:
27 StringRef getTypeName(const PDBSymbolTypeBuiltin &Symbol);
28
29 LinePrinter &Printer;
30};
31}
32}
33
34#endif
35