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

source code of llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeBaseClass.h