LLVM  8.0.1
PDBSymbolTypeEnum.h
Go to the documentation of this file.
1 //===- PDBSymbolTypeEnum.h - enum type info ---------------------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEENUM_H
11 #define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEENUM_H
12 
13 #include "IPDBLineNumber.h"
14 #include "PDBSymbol.h"
15 #include "PDBSymbolTypeBuiltin.h"
16 #include "PDBTypes.h"
17 
18 namespace llvm {
19 
20 class raw_ostream;
21 namespace pdb {
22 
23 class PDBSymbolTypeEnum : public PDBSymbol {
25 public:
26  void dump(PDBSymDumper &Dumper) const override;
27 
28  FORWARD_SYMBOL_METHOD(getBuiltinType)
29  FORWARD_SYMBOL_ID_METHOD(getClassParent)
30  FORWARD_SYMBOL_METHOD(hasConstructor)
31  FORWARD_SYMBOL_METHOD(isConstType)
32  FORWARD_SYMBOL_METHOD(hasAssignmentOperator)
33  FORWARD_SYMBOL_METHOD(hasCastOperator)
34  FORWARD_SYMBOL_METHOD(hasNestedTypes)
35  FORWARD_SYMBOL_METHOD(getLength)
36  FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
37  FORWARD_SYMBOL_ID_METHOD(getUnmodifiedType)
39  FORWARD_SYMBOL_METHOD(getSrcLineOnTypeDefn)
40  FORWARD_SYMBOL_METHOD(isNested)
41  FORWARD_SYMBOL_METHOD(hasOverloadedOperator)
42  FORWARD_SYMBOL_METHOD(isPacked)
43  FORWARD_SYMBOL_METHOD(isScoped)
45  getUnderlyingType)
46  FORWARD_SYMBOL_METHOD(isUnalignedType)
47  FORWARD_SYMBOL_METHOD(isVolatileType)
48 };
49 
50 } // namespace llvm
51 }
52 
53 #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEENUM_H
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition: PDBSymbol.h:51
This class represents lattice values for constants.
Definition: AllocatorList.h:24
static StringRef getName(Value *V)
#define FORWARD_SYMBOL_METHOD(MethodName)
Definition: PDBSymbol.h:20
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:25
static wasm::ValType getType(const TargetRegisterClass *RC)
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e...
Definition: PDBSymbol.h:74
#define FORWARD_SYMBOL_ID_METHOD(MethodName)
Definition: PDBSymbol.h:39