LLVM  12.0.0git
TypeSymbolEmitter.h
Go to the documentation of this file.
1 //===- TypeSymbolEmitter.h --------------------------------------*- 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_CODEVIEW_TYPESYMBOLEMITTER_H
10 #define LLVM_DEBUGINFO_CODEVIEW_TYPESYMBOLEMITTER_H
11 
12 namespace llvm {
13 class StringRef;
14 
15 namespace codeview {
16 class TypeIndex;
17 
19 private:
20  TypeSymbolEmitter(const TypeSymbolEmitter &) = delete;
21  TypeSymbolEmitter &operator=(const TypeSymbolEmitter &) = delete;
22 
23 protected:
25 
26 public:
27  virtual ~TypeSymbolEmitter() {}
28 
29 public:
30  virtual void writeUserDefinedType(TypeIndex TI, StringRef Name) = 0;
31 };
32 }
33 }
34 
35 #endif
This class represents lattice values for constants.
Definition: AllocatorList.h:23
amdgpu Simplify well known AMD library false FunctionCallee Value const Twine & Name
A 32-bit type reference.
Definition: TypeIndex.h:95
virtual void writeUserDefinedType(TypeIndex TI, StringRef Name)=0
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:57