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
18

source code of mlir/include/mlir/Support/RawOstreamExtras.h