]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/include/llvm/TextAPI/MachO/TextAPIWriter.h
Fix a memory leak in if_delgroups() introduced in r334118.
[FreeBSD/FreeBSD.git] / contrib / llvm / include / llvm / TextAPI / MachO / TextAPIWriter.h
1 //===--- TextAPIWriter.h - Text API Writer ----------------------*- 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_TEXTAPI_MACHO_WRITER_H
10 #define LLVM_TEXTAPI_MACHO_WRITER_H
11
12 #include "llvm/Support/MemoryBuffer.h"
13
14 namespace llvm {
15 namespace MachO {
16
17 class InterfaceFile;
18
19 class TextAPIWriter {
20 public:
21   TextAPIWriter() = delete;
22
23   static Error writeToStream(raw_ostream &os, const InterfaceFile &);
24 };
25
26 } // end namespace MachO.
27 } // end namespace llvm.
28
29 #endif // LLVM_TEXTAPI_MACHO_WRITER_H