LLVM  9.0.0svn
NativeTypeArray.h
Go to the documentation of this file.
1 //===- NativeTypeArray.h ------------------------------------------ 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_NATIVETYPEARRAY_H
10 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVETYPEARRAY_H
11 
13 
16 
17 namespace llvm {
18 namespace pdb {
19 
20 class NativeSession;
21 
23 public:
26  ~NativeTypeArray() override;
27 
28  void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields,
29  PdbSymbolIdField RecurseIdFields) const override;
30 
31  SymIndexId getArrayIndexTypeId() const override;
32 
33  bool isConstType() const override;
34  bool isUnalignedType() const override;
35  bool isVolatileType() const override;
36 
37  uint32_t getCount() const override;
38  SymIndexId getTypeId() const override;
39  uint64_t getLength() const override;
40 
41 protected:
44 };
45 
46 } // namespace pdb
47 } // namespace llvm
48 
49 #endif
void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override
This class represents lattice values for constants.
Definition: AllocatorList.h:23
SymIndexId getTypeId() const override
bool isVolatileType() const override
NativeTypeArray(NativeSession &Session, SymIndexId Id, codeview::TypeIndex TI, codeview::ArrayRecord Record)
codeview::TypeIndex Index
uint64_t getLength() const override
A 32-bit type reference.
Definition: TypeIndex.h:95
bool isUnalignedType() const override
uint32_t getCount() const override
codeview::ArrayRecord Record
SymIndexId getArrayIndexTypeId() const override
bool isConstType() const override
This class implements an extremely fast bulk output stream that can only output to a stream...
Definition: raw_ostream.h:45