LLVM  10.0.0svn
PDBSymbolTypeEnum.h
Go to the documentation of this file.
1 //===- PDBSymbolTypeEnum.h - enum 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 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEENUM_H
10 #define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEENUM_H
11 
12 #include "IPDBLineNumber.h"
13 #include "PDBSymbol.h"
14 #include "PDBSymbolTypeBuiltin.h"
15 #include "PDBTypes.h"
16 
17 namespace llvm {
18 
19 class raw_ostream;
20 namespace pdb {
21 
22 class PDBSymbolTypeEnum : public PDBSymbol {
24 public:
25  void dump(PDBSymDumper &Dumper) const override;
26 
27  FORWARD_SYMBOL_METHOD(getBuiltinType)
28  FORWARD_SYMBOL_ID_METHOD(getClassParent)
29  FORWARD_SYMBOL_METHOD(hasConstructor)
30  FORWARD_SYMBOL_METHOD(isConstType)
31  FORWARD_SYMBOL_METHOD(hasAssignmentOperator)
32  FORWARD_SYMBOL_METHOD(hasCastOperator)
33  FORWARD_SYMBOL_METHOD(hasNestedTypes)
34  FORWARD_SYMBOL_METHOD(getLength)
35  FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
36  FORWARD_SYMBOL_ID_METHOD(getUnmodifiedType)
38  FORWARD_SYMBOL_METHOD(getSrcLineOnTypeDefn)
39  FORWARD_SYMBOL_METHOD(isNested)
40  FORWARD_SYMBOL_METHOD(hasOverloadedOperator)
41  FORWARD_SYMBOL_METHOD(isPacked)
42  FORWARD_SYMBOL_METHOD(isScoped)
44  getUnderlyingType)
45  FORWARD_SYMBOL_METHOD(isUnalignedType)
46  FORWARD_SYMBOL_METHOD(isVolatileType)
47 };
48 
49 } // namespace llvm
50 }
51 
52 #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEENUM_H
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition: PDBSymbol.h:50
This class represents lattice values for constants.
Definition: AllocatorList.h:23
static StringRef getName(Value *V)
#define FORWARD_SYMBOL_METHOD(MethodName)
Definition: PDBSymbol.h:19
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.
#define FORWARD_CONCRETE_SYMBOL_ID_METHOD_WITH_NAME(ConcreteType, PrivateName, PublicName)
Definition: PDBSymbol.h:24
static wasm::ValType getType(const TargetRegisterClass *RC)
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e...
Definition: PDBSymbol.h:73
#define FORWARD_SYMBOL_ID_METHOD(MethodName)
Definition: PDBSymbol.h:38