1 //===- RawOstreamExtras.cpp - Extensions to LLVM's raw_ostream ------------===//
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
7 //===----------------------------------------------------------------------===//
9 #include "mlir/Support/RawOstreamExtras.h"
10 #include "llvm/Support/raw_ostream.h"
12 llvm::raw_ostream
&mlir::thread_safe_nulls() {
13 static thread_local
llvm::raw_null_ostream stream
;