1 //===- PDBSymbolTypeBaseClass.h - base class type information ---*- 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_DEBUGINFO_PDB_PDBSYMBOLTYPEBASECLASS_H 11 #define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEBASECLASS_H 12 13 #include "PDBSymbol.h" 14 #include "PDBTypes.h" 15 16 namespace llvm { 17 18 class raw_ostream; 19 namespace pdb { 20 21 class PDBSymbolTypeBaseClass : public PDBSymbol { 22 public: 23 PDBSymbolTypeBaseClass(const IPDBSession &PDBSession, 24 std::unique_ptr<IPDBRawSymbol> Symbol); 25 26 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::BaseClass) 27 28 void dump(PDBSymDumper &Dumper) const override; 29 30 FORWARD_SYMBOL_METHOD(getAccess) 31 FORWARD_SYMBOL_METHOD(getClassParentId) 32 FORWARD_SYMBOL_METHOD(hasConstructor) 33 FORWARD_SYMBOL_METHOD(isConstType) 34 FORWARD_SYMBOL_METHOD(hasAssignmentOperator) 35 FORWARD_SYMBOL_METHOD(hasCastOperator) 36 FORWARD_SYMBOL_METHOD(hasNestedTypes) 37 FORWARD_SYMBOL_METHOD(isIndirectVirtualBaseClass) 38 FORWARD_SYMBOL_METHOD(getLength) 39 FORWARD_SYMBOL_METHOD(getLexicalParentId) 40 FORWARD_SYMBOL_METHOD(getName) 41 FORWARD_SYMBOL_METHOD(isNested) 42 FORWARD_SYMBOL_METHOD(getOffset) 43 FORWARD_SYMBOL_METHOD(hasOverloadedOperator) 44 FORWARD_SYMBOL_METHOD(isPacked) 45 FORWARD_SYMBOL_METHOD(isScoped) 46 FORWARD_SYMBOL_METHOD(getTypeId) 47 FORWARD_SYMBOL_METHOD(getUdtKind) 48 FORWARD_SYMBOL_METHOD(isUnalignedType) 49 50 FORWARD_SYMBOL_METHOD(isVirtualBaseClass) 51 FORWARD_SYMBOL_METHOD(getVirtualBaseDispIndex) 52 FORWARD_SYMBOL_METHOD(getVirtualBasePointerOffset) 53 // FORWARD_SYMBOL_METHOD(getVirtualBaseTableType) 54 FORWARD_SYMBOL_METHOD(getVirtualTableShapeId) 55 FORWARD_SYMBOL_METHOD(isVolatileType) 56 }; 57 58 } // namespace llvm 59 } 60 61 #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEBASECLASS_H 62