[InstCombine] Signed saturation patterns
[llvm-complete.git] / include / llvm / DebugInfo / CodeView / TypeSymbolEmitter.h
blob4f2e5deb10b4dbc0cdfbe009d79c8271fcc5a2c7
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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_DEBUGINFO_CODEVIEW_TYPESYMBOLEMITTER_H
10 #define LLVM_DEBUGINFO_CODEVIEW_TYPESYMBOLEMITTER_H
12 #include "llvm/DebugInfo/CodeView/CodeView.h"
13 #include "llvm/DebugInfo/CodeView/TypeIndex.h"
15 namespace llvm {
16 class StringRef;
18 namespace codeview {
20 class TypeSymbolEmitter {
21 private:
22 TypeSymbolEmitter(const TypeSymbolEmitter &) = delete;
23 TypeSymbolEmitter &operator=(const TypeSymbolEmitter &) = delete;
25 protected:
26 TypeSymbolEmitter() {}
28 public:
29 virtual ~TypeSymbolEmitter() {}
31 public:
32 virtual void writeUserDefinedType(TypeIndex TI, StringRef Name) = 0;
37 #endif