1 //===- TypedefDumper.h - llvm-pdbdump typedef dumper ---------*- C++ ----*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 #ifndef LLVM_TOOLS_LLVMPDBDUMP_TYPEDEFDUMPER_H 11 #define LLVM_TOOLS_LLVMPDBDUMP_TYPEDEFDUMPER_H 12 13 #include "llvm/DebugInfo/PDB/PDBSymDumper.h" 14 15 namespace llvm { 16 17 class LinePrinter; 18 19 class TypedefDumper : public PDBSymDumper { 20 public: 21 TypedefDumper(LinePrinter &P); 22 23 void start(const PDBSymbolTypeTypedef &Symbol); 24 25 void dump(const PDBSymbolTypeArray &Symbol) override; 26 void dump(const PDBSymbolTypeBuiltin &Symbol) override; 27 void dump(const PDBSymbolTypeEnum &Symbol) override; 28 void dump(const PDBSymbolTypeFunctionSig &Symbol) override; 29 void dump(const PDBSymbolTypePointer &Symbol) override; 30 void dump(const PDBSymbolTypeUDT &Symbol) override; 31 32 private: 33 LinePrinter &Printer; 34 }; 35 } 36 37 #endif 38