LLVM  10.0.0svn
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 
12 #include "IPDBLineNumber.h"
13 #include "IPDBSession.h"
14 #include "PDBSymbol.h"
15 #include "PDBSymbolTypeBaseClass.h"
16 #include "PDBTypes.h"
17 
18 namespace llvm {
19 
20 class raw_ostream;
21 
22 namespace pdb {
23 
24 class PDBSymbolTypeUDT : public PDBSymbol {
26 public:
27  void dump(PDBSymDumper &Dumper) const override;
28 
29  FORWARD_SYMBOL_ID_METHOD(getClassParent)
30  FORWARD_SYMBOL_ID_METHOD(getUnmodifiedType)
31  FORWARD_SYMBOL_METHOD(hasConstructor)
32  FORWARD_SYMBOL_METHOD(isConstType)
33  FORWARD_SYMBOL_METHOD(hasAssignmentOperator)
34  FORWARD_SYMBOL_METHOD(hasCastOperator)
35  FORWARD_SYMBOL_METHOD(hasNestedTypes)
36  FORWARD_SYMBOL_METHOD(getLength)
37  FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
39  FORWARD_SYMBOL_METHOD(getSrcLineOnTypeDefn)
40  FORWARD_SYMBOL_METHOD(isNested)
41  FORWARD_SYMBOL_METHOD(hasOverloadedOperator)
42  FORWARD_SYMBOL_METHOD(isPacked)
43  FORWARD_SYMBOL_METHOD(isScoped)
44  FORWARD_SYMBOL_METHOD(getUdtKind)
45  FORWARD_SYMBOL_METHOD(isUnalignedType)
46  FORWARD_SYMBOL_ID_METHOD(getVirtualTableShape)
47  FORWARD_SYMBOL_METHOD(isVolatileType)
48  FORWARD_SYMBOL_METHOD(getAccess)
49 };
50 }
51 } // namespace llvm
52 
53 #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEUDT_H
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition: PDBSymbol.h:50
This class represents lattice values for constants.
Definition: AllocatorList.h:23
static StringRef getName(Value *V)
#define FORWARD_SYMBOL_METHOD(MethodName)
Definition: PDBSymbol.h:19
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e...
Definition: PDBSymbol.h:73
#define FORWARD_SYMBOL_ID_METHOD(MethodName)
Definition: PDBSymbol.h:38