147e9a21dSPavel Labath //===- Optional.cpp - Optional values ---------------------------*- C++ -*-===//
247e9a21dSPavel Labath //
3*2946cd70SChandler Carruth // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*2946cd70SChandler Carruth // See https://llvm.org/LICENSE.txt for license information.
5*2946cd70SChandler Carruth // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
647e9a21dSPavel Labath //
747e9a21dSPavel Labath //===----------------------------------------------------------------------===//
847e9a21dSPavel Labath 
947e9a21dSPavel Labath #include "llvm/ADT/Optional.h"
1047e9a21dSPavel Labath #include "llvm/Support/raw_ostream.h"
1147e9a21dSPavel Labath 
operator <<(raw_ostream & OS,NoneType)1247e9a21dSPavel Labath llvm::raw_ostream &llvm::operator<<(raw_ostream &OS, NoneType) {
1347e9a21dSPavel Labath   return OS << "None";
1447e9a21dSPavel Labath }
15