LLVM
10.0.0
lib
Support
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
"
10
#include "
llvm/Support/raw_ostream.h
"
11
12
llvm::raw_ostream
&
llvm::operator<<
(
raw_ostream
&OS,
NoneType
) {
13
return
OS <<
"None"
;
14
}
llvm::NoneType
NoneType
A simple null object to allow implicit construction of Optional<T> and similar types without having t...
Definition:
None.h:22
llvm::operator<<
raw_ostream & operator<<(raw_ostream &OS, const APInt &I)
Definition:
APInt.h:2096
llvm::raw_ostream
This class implements an extremely fast bulk output stream that can only output to a stream...
Definition:
raw_ostream.h:46
raw_ostream.h
Optional.h
Generated on Tue Mar 24 2020 13:11:11 for LLVM by
1.8.13