Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:43:45

0001 //===- NativeTypeBuiltin.h ---------------------------------------- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLVM_DEBUGINFO_PDB_NATIVE_NATIVETYPEBUILTIN_H
0010 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVETYPEBUILTIN_H
0011 
0012 #include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h"
0013 
0014 #include "llvm/DebugInfo/PDB/PDBTypes.h"
0015 
0016 namespace llvm {
0017 namespace pdb {
0018 
0019 class NativeSession;
0020 
0021 class NativeTypeBuiltin : public NativeRawSymbol {
0022 public:
0023   NativeTypeBuiltin(NativeSession &PDBSession, SymIndexId Id,
0024                     codeview::ModifierOptions Mods, PDB_BuiltinType T,
0025                     uint64_t L);
0026   ~NativeTypeBuiltin() override;
0027 
0028   void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields,
0029             PdbSymbolIdField RecurseIdFields) const override;
0030 
0031   PDB_SymType getSymTag() const override;
0032 
0033   PDB_BuiltinType getBuiltinType() const override;
0034   bool isConstType() const override;
0035   uint64_t getLength() const override;
0036   bool isUnalignedType() const override;
0037   bool isVolatileType() const override;
0038 
0039 protected:
0040   NativeSession &Session;
0041   codeview::ModifierOptions Mods;
0042   PDB_BuiltinType Type;
0043   uint64_t Length;
0044 };
0045 
0046 } // namespace pdb
0047 } // namespace llvm
0048 
0049 #endif