LLVM  16.0.0git
PDBSymbolTypeUDT.h
Go to the documentation of this file.
1 //===- PDBSymbolTypeUDT.h - UDT type info -----------------------*- 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_PDBSYMBOLTYPEUDT_H
10 #define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEUDT_H
11 
13 
14 #include "PDBSymbol.h"
15 #include "PDBTypes.h"
16 
17 namespace llvm {
18 
19 namespace pdb {
20 
21 class PDBSymDumper;
22 
23 class PDBSymbolTypeUDT : public PDBSymbol {
25 public:
26  void dump(PDBSymDumper &Dumper) const override;
27 
28  FORWARD_SYMBOL_ID_METHOD(getClassParent)
29  FORWARD_SYMBOL_ID_METHOD(getUnmodifiedType)
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(getLength)
36  FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
38  FORWARD_SYMBOL_METHOD(getSrcLineOnTypeDefn)
39  FORWARD_SYMBOL_METHOD(isNested)
40  FORWARD_SYMBOL_METHOD(hasOverloadedOperator)
41  FORWARD_SYMBOL_METHOD(isPacked)
42  FORWARD_SYMBOL_METHOD(isScoped)
43  FORWARD_SYMBOL_METHOD(getUdtKind)
44  FORWARD_SYMBOL_METHOD(isUnalignedType)
45  FORWARD_SYMBOL_ID_METHOD(getVirtualTableShape)
46  FORWARD_SYMBOL_METHOD(isVolatileType)
47  FORWARD_SYMBOL_METHOD(getAccess)
48 };
49 }
50 } // namespace llvm
51 
52 #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEUDT_H
llvm::pdb::PDBSymbol::getName
std::string getName() const
Definition: PDBSymbol.cpp:183
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
llvm::pdb::PDBSymbolTypeUDT::dump
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.
Definition: PDBSymbolTypeUDT.cpp:17
IPDBRawSymbol.h
DECLARE_PDB_SYMBOL_CONCRETE_TYPE
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition: PDBSymbol.h:48
llvm::pdb::PDB_SymType::UDT
@ UDT
llvm::pdb::PDBSymbol
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e....
Definition: PDBSymbol.h:71
PDBSymbol.h
PDBTypes.h
llvm::pdb::PDBSymDumper
Definition: PDBSymDumper.h:19
FORWARD_SYMBOL_ID_METHOD
#define FORWARD_SYMBOL_ID_METHOD(MethodName)
Definition: PDBSymbol.h:34
llvm::pdb::PDBSymbolTypeUDT
Definition: PDBSymbolTypeUDT.h:23
FORWARD_SYMBOL_METHOD
#define FORWARD_SYMBOL_METHOD(MethodName)
Definition: PDBSymbol.h:17