Path: blob/main/contrib/llvm-project/llvm/tools/llvm-pdbutil/PrettyClassDefinitionDumper.h
35260 views
//===- PrettyClassDefinitionDumper.h ----------------------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLVM_TOOLS_LLVMPDBDUMP_PRETTYCLASSDEFINITIONDUMPER_H9#define LLVM_TOOLS_LLVMPDBDUMP_PRETTYCLASSDEFINITIONDUMPER_H1011#include "llvm/ADT/BitVector.h"1213#include "llvm/DebugInfo/PDB/PDBSymDumper.h"14#include "llvm/DebugInfo/PDB/PDBSymbolData.h"15#include "llvm/DebugInfo/PDB/PDBSymbolFunc.h"1617#include <memory>1819namespace llvm {20class BitVector;2122namespace pdb {2324class ClassLayout;25class LinePrinter;2627class ClassDefinitionDumper : public PDBSymDumper {28public:29ClassDefinitionDumper(LinePrinter &P);3031void start(const PDBSymbolTypeUDT &Class);32void start(const ClassLayout &Class);3334private:35void prettyPrintClassIntro(const ClassLayout &Class);36void prettyPrintClassOutro(const ClassLayout &Class);3738LinePrinter &Printer;39bool DumpedAnything = false;40};41}42}43#endif444546