MLIR 22.0.0git
RawOstreamExtras.h
Go to the documentation of this file.
1//===- RawOstreamExtras.h - Extensions to LLVM's raw_ostream.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
9namespace llvm {
10class raw_ostream;
11} // namespace llvm
12
13namespace mlir {
14/// Returns a raw output stream that simply discards the output, but in a
15/// thread-safe manner. Similar to llvm::nulls.
16llvm::raw_ostream &thread_safe_nulls();
17} // namespace mlir
The OpAsmOpInterface, see OpAsmInterface.td for more details.
Definition CallGraph.h:229
Include the generated interface declarations.
llvm::raw_ostream & thread_safe_nulls()
Returns a raw output stream that simply discards the output, but in a thread-safe manner.