LLVM  14.0.0git
PDBSymbolTypeArray.h
Go to the documentation of this file.
1 //===- PDBSymbolTypeArray.h - array type information ------------*- 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_PDBSYMBOLTYPEARRAY_H
10 #define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEARRAY_H
11 
12 #include "PDBSymbol.h"
13 #include "PDBTypes.h"
14 
15 namespace llvm {
16 
17 class raw_ostream;
18 namespace pdb {
19 
20 class PDBSymbolTypeArray : public PDBSymbol {
22 public:
23  void dump(PDBSymDumper &Dumper) const override;
24  void dumpRight(PDBSymDumper &Dumper) const override;
25 
26  FORWARD_SYMBOL_ID_METHOD(getArrayIndexType)
27  FORWARD_SYMBOL_METHOD(isConstType)
28  FORWARD_SYMBOL_METHOD(getCount)
29  FORWARD_SYMBOL_METHOD(getLength)
30  FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
31  FORWARD_SYMBOL_METHOD(getRank)
33  FORWARD_SYMBOL_METHOD(isUnalignedType)
34  FORWARD_SYMBOL_METHOD(isVolatileType)
35 };
36 
37 } // namespace llvm
38 }
39 
40 #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEARRAY_H
llvm
This file implements support for optimizing divisions by a constant.
Definition: AllocatorList.h:23
DECLARE_PDB_SYMBOL_CONCRETE_TYPE
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition: PDBSymbol.h:47
llvm::Intrinsic::getType
FunctionType * getType(LLVMContext &Context, ID id, ArrayRef< Type * > Tys=None)
Return the function type for an intrinsic.
Definition: Function.cpp:1335
llvm::pdb::PDBSymbol
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e....
Definition: PDBSymbol.h:70
llvm::pdb::PDB_SymType::ArrayType
@ ArrayType
PDBSymbol.h
PDBTypes.h
llvm::pdb::PDBSymbolTypeArray
Definition: PDBSymbolTypeArray.h:20
llvm::pdb::PDBSymDumper
Definition: PDBSymDumper.h:19
llvm::pdb::PDBSymbolTypeArray::dumpRight
void dumpRight(PDBSymDumper &Dumper) const override
For certain PDBSymbolTypes, dumps additional information for the type that normally goes on the right...
Definition: PDBSymbolTypeArray.cpp:22
llvm::pdb::PDBSymbolTypeArray::dump
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.
Definition: PDBSymbolTypeArray.cpp:18
FORWARD_SYMBOL_ID_METHOD
#define FORWARD_SYMBOL_ID_METHOD(MethodName)
Definition: PDBSymbol.h:36
FORWARD_SYMBOL_ID_METHOD_WITH_NAME
#define FORWARD_SYMBOL_ID_METHOD_WITH_NAME(PrivateName, PublicName)
Definition: PDBSymbol.h:32
FORWARD_SYMBOL_METHOD
#define FORWARD_SYMBOL_METHOD(MethodName)
Definition: PDBSymbol.h:19