xref: /llvm-project/llvm/lib/Support/Optional.cpp (revision 934942c0331a078acc9350dc3ba7790a0e2698a8)
147e9a21dSPavel Labath //===- Optional.cpp - Optional values ---------------------------*- C++ -*-===//
247e9a21dSPavel Labath //
32946cd70SChandler Carruth // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
42946cd70SChandler Carruth // See https://llvm.org/LICENSE.txt for license information.
52946cd70SChandler Carruth // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
647e9a21dSPavel Labath //
747e9a21dSPavel Labath //===----------------------------------------------------------------------===//
847e9a21dSPavel Labath 
947e9a21dSPavel Labath #include "llvm/Support/raw_ostream.h"
1047e9a21dSPavel Labath 
operator <<(raw_ostream & OS,std::nullopt_t)11*34bcadc3SKazu Hirata llvm::raw_ostream &llvm::operator<<(raw_ostream &OS, std::nullopt_t) {
1247e9a21dSPavel Labath   return OS << "None";
1347e9a21dSPavel Labath }
14