mirror of
https://github.com/RPCS3/llvm.git
synced 2026-01-31 01:25:19 +01:00
Some C++14 features slipped in along with an extra member qualification. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307835 91177308-0d34-0410-b5e6-96231b3b80d8
50 lines
1.3 KiB
C++
50 lines
1.3 KiB
C++
//===- NativeBuiltinSymbol.h -------------------------------------- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_DEBUGINFO_PDB_NATIVE_NATIVEBUILTINSYMBOL_H
|
|
#define LLVM_DEBUGINFO_PDB_NATIVE_NATIVEBUILTINSYMBOL_H
|
|
|
|
#include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h"
|
|
|
|
#include "llvm/DebugInfo/PDB/PDBTypes.h"
|
|
|
|
namespace llvm {
|
|
namespace pdb {
|
|
|
|
class NativeSession;
|
|
|
|
class NativeBuiltinSymbol : public NativeRawSymbol {
|
|
public:
|
|
NativeBuiltinSymbol(NativeSession &PDBSession, SymIndexId Id,
|
|
PDB_BuiltinType T, uint64_t L);
|
|
~NativeBuiltinSymbol() override;
|
|
|
|
virtual std::unique_ptr<NativeRawSymbol> clone() const override;
|
|
|
|
void dump(raw_ostream &OS, int Indent) const override;
|
|
|
|
PDB_SymType getSymTag() const override;
|
|
|
|
PDB_BuiltinType getBuiltinType() const override;
|
|
bool isConstType() const override;
|
|
uint64_t getLength() const override;
|
|
bool isUnalignedType() const override;
|
|
bool isVolatileType() const override;
|
|
|
|
protected:
|
|
NativeSession &Session;
|
|
PDB_BuiltinType Type;
|
|
uint64_t Length;
|
|
};
|
|
|
|
} // namespace pdb
|
|
} // namespace llvm
|
|
|
|
#endif
|