mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
7f838bbe45
Post commit code review feedback to r175705 from Jordan Rose. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175724 91177308-0d34-0410-b5e6-96231b3b80d8
28 lines
845 B
C++
28 lines
845 B
C++
//===-- None.h - Simple null value for implicit construction ------*- C++ -*-=//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file provides None, an enumerator for use in implicit constructors
|
|
// of various (usually templated) types to make such construction more
|
|
// terse.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_ADT_NONE_H
|
|
#define LLVM_ADT_NONE_H
|
|
|
|
namespace llvm {
|
|
/// \brief A simple null object to allow implicit construction of Optional<T>
|
|
/// and similar types without having to spell out the specialization's name.
|
|
enum NoneType {
|
|
None
|
|
};
|
|
}
|
|
|
|
#endif
|