LLVM  9.0.0svn
Optional.cpp
Go to the documentation of this file.
1 //===- Optional.cpp - Optional values ---------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #include "llvm/ADT/Optional.h"
11 
13  return OS << "None";
14 }
NoneType
A simple null object to allow implicit construction of Optional<T> and similar types without having t...
Definition: None.h:22
raw_ostream & operator<<(raw_ostream &OS, const APInt &I)
Definition: APInt.h:2038
This class implements an extremely fast bulk output stream that can only output to a stream...
Definition: raw_ostream.h:45