LLVM  14.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
llvm
---------------------— PointerInfo ------------------------------------—
Definition: AllocatorList.h:23
llvm::codeview::TypeSymbolEmitter
Definition: TypeSymbolEmitter.h:18
llvm::StringRef
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:58
llvm::GraphProgram::Name
Name
Definition: GraphWriter.h:52
llvm::codeview::TypeIndex
A 32-bit type reference.
Definition: TypeIndex.h:95
llvm::codeview::TypeSymbolEmitter::TypeSymbolEmitter
TypeSymbolEmitter()
Definition: TypeSymbolEmitter.h:24
llvm::codeview::TypeSymbolEmitter::writeUserDefinedType
virtual void writeUserDefinedType(TypeIndex TI, StringRef Name)=0
llvm::codeview::TypeSymbolEmitter::~TypeSymbolEmitter
virtual ~TypeSymbolEmitter()
Definition: TypeSymbolEmitter.h:27