llvm.org GIT mirror llvm / release_70 tools / llvm-pdbutil / PrettyBuiltinDumper.h
release_70

Tree @release_70 (Download .tar.gz)

PrettyBuiltinDumper.h @release_70raw · history · blame

//===- PrettyBuiltinDumper.h ---------------------------------- *- C++ --*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_TOOLS_LLVMPDBDUMP_PRETTYBUILTINDUMPER_H
#define LLVM_TOOLS_LLVMPDBDUMP_PRETTYBUILTINDUMPER_H

#include "llvm/ADT/StringRef.h"
#include "llvm/DebugInfo/PDB/PDBSymDumper.h"

namespace llvm {
namespace pdb {

class LinePrinter;

class BuiltinDumper : public PDBSymDumper {
public:
  BuiltinDumper(LinePrinter &P);

  void start(const PDBSymbolTypeBuiltin &Symbol);

private:
  StringRef getTypeName(const PDBSymbolTypeBuiltin &Symbol);

  LinePrinter &Printer;
};
}
}

#endif