Pavel Labath | 47e9a21 | 2019-01-18 12:52:03 +0000 | [diff] [blame^] | 1 | //===- Optional.cpp - Optional values ---------------------------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | #include "llvm/ADT/Optional.h" |
| 11 | #include "llvm/Support/raw_ostream.h" |
| 12 | |
| 13 | llvm::raw_ostream &llvm::operator<<(raw_ostream &OS, NoneType) { |
| 14 | return OS << "None"; |
| 15 | } |