LLVM 20.0.0git
PDBSymbolTypeEnum.h
Go to the documentation of this file.
1//===- PDBSymbolTypeEnum.h - enum 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_PDBSYMBOLTYPEENUM_H
10#define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEENUM_H
11
12#include "PDBSymbol.h"
13#include "PDBTypes.h"
14
16
17namespace llvm {
18
19namespace pdb {
20
21class PDBSymDumper;
22class PDBSymbolTypeBuiltin;
23
26public:
27 void dump(PDBSymDumper &Dumper) const override;
28
29 FORWARD_SYMBOL_METHOD(getBuiltinType)
30 FORWARD_SYMBOL_ID_METHOD(getClassParent)
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)
38 FORWARD_SYMBOL_ID_METHOD(getUnmodifiedType)
40 FORWARD_SYMBOL_METHOD(getSrcLineOnTypeDefn)
41 FORWARD_SYMBOL_METHOD(isNested)
42 FORWARD_SYMBOL_METHOD(hasOverloadedOperator)
43 FORWARD_SYMBOL_METHOD(isPacked)
44 FORWARD_SYMBOL_METHOD(isScoped)
46 getUnderlyingType)
47 FORWARD_SYMBOL_METHOD(isUnalignedType)
48 FORWARD_SYMBOL_METHOD(isVolatileType)
49};
50
51} // namespace pdb
52} // namespace llvm
53
54#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEENUM_H
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition: PDBSymbol.h:48
#define FORWARD_SYMBOL_ID_METHOD(MethodName)
Definition: PDBSymbol.h:34
#define FORWARD_CONCRETE_SYMBOL_ID_METHOD_WITH_NAME(ConcreteType, PrivateName, PublicName)
Definition: PDBSymbol.h:20
#define FORWARD_SYMBOL_METHOD(MethodName)
Definition: PDBSymbol.h:17
static SymbolRef::Type getType(const Symbol *Sym)
Definition: TapiFile.cpp:40
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:71
std::string getName() const
Definition: PDBSymbol.cpp:183
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18