llvm-project/llvm/unittests/DebugInfo
Kazu Hirata 1fa870b1bd Use None consistently (NFC)
This patch replaces NoneType() and NoneType::None with None in
preparation for migration from llvm::Optional to std::optional.

In the std::optional world, we are not guranteed to be able to
default-construct std::nullopt_t or peek what's inside it, so neither
NoneType() nor NoneType::None has a corresponding expression in the
std::optional world.

Once we consistently use None, we should even be able to replace the
contents of llvm/include/llvm/ADT/None.h with something like:

  using NoneType = std::nullopt_t;
  inline constexpr std::nullopt_t None = std::nullopt;

to ease the migration from llvm::Optional to std::optional.

Differential Revision: https://reviews.llvm.org/D138376
2022-11-20 00:24:40 -08:00
..
CodeView [test-suite][cmake] sort unit test targets 2022-05-16 16:55:40 -07:00
DWARF Use None consistently (NFC) 2022-11-20 00:24:40 -08:00
GSYM [llvm] Use has_value instead of hasValue (NFC) 2022-07-12 22:25:42 -07:00
LogicalView [llvm-debuginfo-analyzer] Fix memory leak reported by sanitizers. 2022-11-02 06:07:33 +00:00
MSF [test-suite][cmake] sort unit test targets 2022-05-16 16:55:40 -07:00
PDB [test-suite][cmake] sort unit test targets 2022-05-16 16:55:40 -07:00
Symbolizer [Symbolize] Parse multi-line markup elements. 2022-06-22 10:00:43 -07:00
CMakeLists.txt Recommit [llvm-debuginfo-analyzer] (02/09) - Driver and documentation 2022-10-18 08:39:26 +01:00