LLVM  8.0.1
NativeTypeBuiltin.h
Go to the documentation of this file.
1 //===- NativeTypeBuiltin.h ---------------------------------------- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef LLVM_DEBUGINFO_PDB_NATIVE_NATIVETYPEBUILTIN_H
11 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVETYPEBUILTIN_H
12 
14 
16 
17 namespace llvm {
18 namespace pdb {
19 
20 class NativeSession;
21 
23 public:
26  uint64_t L);
27  ~NativeTypeBuiltin() override;
28 
29  void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields,
30  PdbSymbolIdField RecurseIdFields) const override;
31 
32  PDB_SymType getSymTag() const override;
33 
34  PDB_BuiltinType getBuiltinType() const override;
35  bool isConstType() const override;
36  uint64_t getLength() const override;
37  bool isUnalignedType() const override;
38  bool isVolatileType() const override;
39 
40 protected:
44  uint64_t Length;
45 };
46 
47 } // namespace pdb
48 } // namespace llvm
49 
50 #endif
void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override
This class represents lattice values for constants.
Definition: AllocatorList.h:24
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:183
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:275
Definition: JSON.cpp:598
bool isConstType() const override
This class implements an extremely fast bulk output stream that can only output to a stream...
Definition: raw_ostream.h:46