summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Optional.cpp
blob: 765b25df13d43612bb79e36d89c382ff574cfebd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//===- Optional.cpp - Optional values ---------------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#include "llvm/ADT/Optional.h"
#include "llvm/Support/raw_ostream.h"

llvm::raw_ostream &llvm::operator<<(raw_ostream &OS, NoneType) {
  return OS << "None";
}
OpenPOWER on IntegriCloud