LLVM 20.0.0git
PDBSymbolTypePointer.h
Go to the documentation of this file.
1//===- PDBSymbolTypePointer.h - pointer 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_PDBSYMBOLTYPEPOINTER_H
10#define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEPOINTER_H
11
12#include "PDBSymbol.h"
13#include "PDBTypes.h"
14
15namespace llvm {
16
17namespace pdb {
18
21public:
22 void dump(PDBSymDumper &Dumper) const override;
23 void dumpRight(PDBSymDumper &Dumper) const override;
24
25 FORWARD_SYMBOL_METHOD(isConstType)
26 FORWARD_SYMBOL_ID_METHOD(getClassParent)
27 FORWARD_SYMBOL_METHOD(getLength)
28 FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
29 FORWARD_SYMBOL_METHOD(isReference)
30 FORWARD_SYMBOL_METHOD(isRValueReference)
31 FORWARD_SYMBOL_METHOD(isPointerToDataMember)
32 FORWARD_SYMBOL_METHOD(isPointerToMemberFunction)
34 FORWARD_SYMBOL_METHOD(isRestrictedType)
35 FORWARD_SYMBOL_METHOD(isUnalignedType)
36 FORWARD_SYMBOL_METHOD(isVolatileType)
37};
38
39} // namespace pdb
40} // namespace llvm
41
42#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEPOINTER_H
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition: PDBSymbol.h:48
#define FORWARD_SYMBOL_ID_METHOD_WITH_NAME(PrivateName, PublicName)
Definition: PDBSymbol.h:30
#define FORWARD_SYMBOL_ID_METHOD(MethodName)
Definition: PDBSymbol.h:34
#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.
void dumpRight(PDBSymDumper &Dumper) const override
For certain PDBSymbolTypes, dumps additional information for the type that normally goes on the right...
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e....
Definition: PDBSymbol.h:71
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
Type * getPointeeType(Type *Ty)
Definition: SPIRVUtils.h:182