LLVM  15.0.0git
PDBSymbolTypeTypedef.h
Go to the documentation of this file.
1 //===- PDBSymbolTypeTypedef.h - typedef 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_PDBSYMBOLTYPETYPEDEF_H
10 #define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPETYPEDEF_H
11 
12 #include "PDBSymbol.h"
13 #include "PDBTypes.h"
14 
15 namespace llvm {
16 
17 namespace pdb {
18 
21 public:
22  void dump(PDBSymDumper &Dumper) const override;
23 
24  FORWARD_SYMBOL_METHOD(getBuiltinType)
25  FORWARD_SYMBOL_ID_METHOD(getClassParent)
26  FORWARD_SYMBOL_METHOD(hasConstructor)
27  FORWARD_SYMBOL_METHOD(isConstType)
28  FORWARD_SYMBOL_METHOD(hasAssignmentOperator)
29  FORWARD_SYMBOL_METHOD(hasCastOperator)
30  FORWARD_SYMBOL_METHOD(hasNestedTypes)
31  FORWARD_SYMBOL_METHOD(getLength)
32  FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
34  FORWARD_SYMBOL_METHOD(isNested)
35  FORWARD_SYMBOL_METHOD(hasOverloadedOperator)
36  FORWARD_SYMBOL_METHOD(isPacked)
37  FORWARD_SYMBOL_METHOD(isReference)
38  FORWARD_SYMBOL_METHOD(isScoped)
40  FORWARD_SYMBOL_METHOD(getUdtKind)
41  FORWARD_SYMBOL_METHOD(isUnalignedType)
42  FORWARD_SYMBOL_ID_METHOD(getVirtualTableShape)
43  FORWARD_SYMBOL_METHOD(isVolatileType)
44 };
45 
46 } // namespace pdb
47 } // namespace llvm
48 
49 #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPETYPEDEF_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:17
DECLARE_PDB_SYMBOL_CONCRETE_TYPE
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition: PDBSymbol.h:48
llvm::Intrinsic::getType
FunctionType * getType(LLVMContext &Context, ID id, ArrayRef< Type * > Tys=None)
Return the function type for an intrinsic.
Definition: Function.cpp:1366
llvm::pdb::PDBSymbolTypeTypedef
Definition: PDBSymbolTypeTypedef.h:19
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::PDB_SymType::Typedef
@ Typedef
llvm::pdb::PDBSymbolTypeTypedef::dump
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.
Definition: PDBSymbolTypeTypedef.cpp:16
FORWARD_SYMBOL_METHOD
#define FORWARD_SYMBOL_METHOD(MethodName)
Definition: PDBSymbol.h:17