[InstCombine] Signed saturation patterns
[llvm-complete.git] / include / llvm / DebugInfo / PDB / PDBSymbolTypePointer.h
blobb36f459e880cd03ce87d15bf473f8d9a294c87f8
1 //===- PDBSymbolTypePointer.h - pointer type info ---------------*- 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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEPOINTER_H
10 #define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEPOINTER_H
12 #include "PDBSymbol.h"
13 #include "PDBTypes.h"
15 namespace llvm {
17 class raw_ostream;
18 namespace pdb {
20 class PDBSymbolTypePointer : public PDBSymbol {
21 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::PointerType)
22 public:
23 void dump(PDBSymDumper &Dumper) const override;
24 void dumpRight(PDBSymDumper &Dumper) const override;
26 FORWARD_SYMBOL_METHOD(isConstType)
27 FORWARD_SYMBOL_ID_METHOD(getClassParent)
28 FORWARD_SYMBOL_METHOD(getLength)
29 FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
30 FORWARD_SYMBOL_METHOD(isReference)
31 FORWARD_SYMBOL_METHOD(isRValueReference)
32 FORWARD_SYMBOL_METHOD(isPointerToDataMember)
33 FORWARD_SYMBOL_METHOD(isPointerToMemberFunction)
34 FORWARD_SYMBOL_ID_METHOD_WITH_NAME(getType, getPointeeType)
35 FORWARD_SYMBOL_METHOD(isRestrictedType)
36 FORWARD_SYMBOL_METHOD(isUnalignedType)
37 FORWARD_SYMBOL_METHOD(isVolatileType)
40 } // namespace llvm
43 #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEPOINTER_H