FLANG
include
flang
Support
StringOstream.h
1
//===-- CompilerInstance.h - Flang Compiler Instance ------------*- 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
// Coding style: https://mlir.llvm.org/getting_started/DeveloperGuide/
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef FORTRAN_SUPPORT_STRINGOSTREAM_H
14
#define FORTRAN_SUPPORT_STRINGOSTREAM_H
15
16
#include <llvm/Support/raw_ostream.h>
17
18
namespace
Fortran::support {
19
22
class
string_ostream
:
public
llvm::raw_string_ostream {
23
private
:
24
std::string buf;
25
26
public
:
27
string_ostream
() : llvm::raw_string_ostream(buf) {}
28
};
29
30
}
// namespace Fortran::support
31
32
#endif
// FORTRAN_SUPPORT_STRINGOSTREAM_H
Fortran::support::string_ostream
Definition:
StringOstream.h:22
Generated on Thu Jun 5 2025 04:46:08 for FLANG by
1.9.6