1 //===- PDBSymbolTypePointer.h - pointer type info ---------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEPOINTER_H
11 #define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEPOINTER_H
13 #include "PDBSymbol.h"
20 class PDBSymbolTypePointer : public PDBSymbol {
22 PDBSymbolTypePointer(const IPDBSession &PDBSession,
23 std::unique_ptr<IPDBRawSymbol> Symbol);
25 void dump(raw_ostream &OS, int Indent, PDB_DumpLevel Level) const override;
27 FORWARD_SYMBOL_METHOD(isConstType)
28 FORWARD_SYMBOL_METHOD(getLength)
29 FORWARD_SYMBOL_METHOD(getLexicalParentId)
30 FORWARD_SYMBOL_METHOD(isReference)
31 FORWARD_SYMBOL_METHOD(getSymIndexId)
32 FORWARD_SYMBOL_METHOD(getTypeId)
33 FORWARD_SYMBOL_METHOD(isUnalignedType)
34 FORWARD_SYMBOL_METHOD(isVolatileType)
36 static bool classof(const PDBSymbol *S) {
37 return S->getSymTag() == PDB_SymType::PointerType;
43 #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEPOINTER_H