LLVM  9.0.0svn
NativeTypeVTShape.h
Go to the documentation of this file.
1 //===- NativeTypeVTShape.h - info about virtual table shape ------*- 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_NATIVE_NATIVETYPEVTSHAPE_H
10 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVETYPEVTSHAPE_H
11 
12 #include "llvm/ADT/Optional.h"
17 
18 namespace llvm {
19 namespace pdb {
20 
22 public:
23  // Create a pointer record for a non-simple type.
26 
27  ~NativeTypeVTShape() override;
28 
29  void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields,
30  PdbSymbolIdField RecurseIdFields) const override;
31 
32  bool isConstType() const override;
33  bool isVolatileType() const override;
34  bool isUnalignedType() const override;
35  uint32_t getCount() const override;
36 
37 protected:
40 };
41 
42 } // namespace pdb
43 } // namespace llvm
44 
45 #endif // LLVM_DEBUGINFO_PDB_NATIVE_NATIVETYPEVTSHAPE_H
This class represents lattice values for constants.
Definition: AllocatorList.h:23
codeview::VFTableShapeRecord Record
bool isConstType() const override
NativeTypeVTShape(NativeSession &Session, SymIndexId Id, codeview::TypeIndex TI, codeview::VFTableShapeRecord SR)
A 32-bit type reference.
Definition: TypeIndex.h:95
void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override
uint32_t getCount() const override
bool isUnalignedType() const override
This class implements an extremely fast bulk output stream that can only output to a stream...
Definition: raw_ostream.h:45
bool isVolatileType() const override