LLVM  10.0.0svn
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 
14 
15 namespace llvm {
16 class StringRef;
17 
18 namespace codeview {
19 
21 private:
22  TypeSymbolEmitter(const TypeSymbolEmitter &) = delete;
23  TypeSymbolEmitter &operator=(const TypeSymbolEmitter &) = delete;
24 
25 protected:
27 
28 public:
29  virtual ~TypeSymbolEmitter() {}
30 
31 public:
32  virtual void writeUserDefinedType(TypeIndex TI, StringRef Name) = 0;
33 };
34 }
35 }
36 
37 #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:48