LLVM  10.0.0svn
NativeSymbolEnumerator.h
Go to the documentation of this file.
1 //===- NativeSymbolEnumerator.h - info about enumerator values --*- 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_NATIVESYMBOLENUMERATOR_H
10 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVESYMBOLENUMERATOR_H
11 
15 
16 namespace llvm {
17 namespace pdb {
18 class NativeTypeEnum;
19 
21 public:
23  const NativeTypeEnum &Parent,
25 
26  ~NativeSymbolEnumerator() override;
27 
28  void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields,
29  PdbSymbolIdField RecurseIdFields) const override;
30 
31  SymIndexId getClassParentId() const override;
32  SymIndexId getLexicalParentId() const override;
33  std::string getName() const override;
34  SymIndexId getTypeId() const override;
35  PDB_DataKind getDataKind() const override;
36  PDB_LocType getLocationType() const override;
37  bool isConstType() const override;
38  bool isVolatileType() const override;
39  bool isUnalignedType() const override;
40  Variant getValue() const override;
41 
42 protected:
45 };
46 
47 } // namespace pdb
48 } // namespace llvm
49 
50 #endif // LLVM_DEBUGINFO_PDB_NATIVE_NATIVETYPEENUM_H
This class represents lattice values for constants.
Definition: AllocatorList.h:23
NativeSymbolEnumerator(NativeSession &Session, SymIndexId Id, const NativeTypeEnum &Parent, codeview::EnumeratorRecord Record)
PDB_LocType getLocationType() const override
SymIndexId getLexicalParentId() const override
PDB_DataKind
These values correspond to the DataKind enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/b2x2t313.aspx.
Definition: PDBTypes.h:226
PDB_LocType
These values correspond to the LocationType enumeration, and are documented here: https://msdn...
Definition: PDBTypes.h:290
SymIndexId getClassParentId() const override
void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override
std::string getName() const override
PDB_DataKind getDataKind() const override
This class implements an extremely fast bulk output stream that can only output to a stream...
Definition: raw_ostream.h:45
SymIndexId getTypeId() const override