LLVM  9.0.0svn
NativeTypeBuiltin.h
Go to the documentation of this file.
1 //===- NativeTypeBuiltin.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_NATIVETYPEBUILTIN_H
10 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVETYPEBUILTIN_H
11 
13 
15 
16 namespace llvm {
17 namespace pdb {
18 
19 class NativeSession;
20 
22 public:
25  uint64_t L);
26  ~NativeTypeBuiltin() override;
27 
28  void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields,
29  PdbSymbolIdField RecurseIdFields) const override;
30 
31  PDB_SymType getSymTag() const override;
32 
33  PDB_BuiltinType getBuiltinType() const override;
34  bool isConstType() const override;
35  uint64_t getLength() const override;
36  bool isUnalignedType() const override;
37  bool isVolatileType() const override;
38 
39 protected:
43  uint64_t Length;
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
codeview::ModifierOptions Mods
PDB_SymType getSymTag() const override
ModifierOptions
Equivalent to CV_modifier_t.
Definition: CodeView.h:299
bool isVolatileType() const override
PDB_SymType
These values correspond to the SymTagEnum enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/bkedss5f.aspx.
Definition: PDBTypes.h:182
bool isUnalignedType() const override
uint64_t getLength() const override
PDB_BuiltinType getBuiltinType() const override
NativeTypeBuiltin(NativeSession &PDBSession, SymIndexId Id, codeview::ModifierOptions Mods, PDB_BuiltinType T, uint64_t L)
PDB_BuiltinType
These values correspond to the Basictype enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/4szdtzc3.aspx.
Definition: PDBTypes.h:274
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