From e6d1592492a3a379186bfb02bd0f4eda0669c0d5 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Tue, 20 Aug 2019 20:50:12 +0000 Subject: Vendor import of stripped llvm trunk r366426 (just before the release_90 branch point): https://llvm.org/svn/llvm-project/llvm/trunk@366426 --- lib/Support/Optional.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lib/Support/Optional.cpp (limited to 'lib/Support/Optional.cpp') diff --git a/lib/Support/Optional.cpp b/lib/Support/Optional.cpp new file mode 100644 index 000000000000..2425739c845d --- /dev/null +++ b/lib/Support/Optional.cpp @@ -0,0 +1,14 @@ +//===- Optional.cpp - Optional values ---------------------------*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#include "llvm/ADT/Optional.h" +#include "llvm/Support/raw_ostream.h" + +llvm::raw_ostream &llvm::operator<<(raw_ostream &OS, NoneType) { + return OS << "None"; +} -- cgit v1.2.3