llvm-project/llvm
Kazu Hirata b6a01caa64 [llvm/unittests] Use std::nullopt instead of None (NFC)
This patch mechanically replaces None with std::nullopt where the
compiler would warn if None were deprecated.  The intent is to reduce
the amount of manual work required in migrating from Optional to
std::optional.

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
2022-12-02 22:10:37 -08:00
..
benchmarks
bindings [AggressiveInstCombine] Remove legacy PM pass 2022-11-15 14:35:15 -08:00
cmake [CMake] Use LLVM_TARGET_TRIPLE in runtimes 2022-11-29 04:08:24 +00:00
docs Make -fsanitize=scudo use scudo_standalone. Delete check-scudo. 2022-12-02 11:29:41 -08:00
examples [Bye] Remove legacy pipeline registration 2022-11-18 13:47:19 -08:00
include [llvm/unittests] Use std::nullopt instead of None (NFC) 2022-12-02 22:10:37 -08:00
lib [llvm/unittests] Use std::nullopt instead of None (NFC) 2022-12-02 22:10:37 -08:00
projects
resources
runtimes [runtimes] Add check-profile dependencies to runtimes 2022-11-30 11:14:37 -08:00
test [llvm-objcopy] Fix --section-add when section contain empty bytes 2022-12-02 16:59:57 -08:00
tools [tools] Use std::nullopt instead of None (NFC) 2022-12-02 21:11:40 -08:00
unittests [llvm/unittests] Use std::nullopt instead of None (NFC) 2022-12-02 22:10:37 -08:00
utils [utils] Use std::nullopt instead of None (NFC) 2022-12-02 21:11:42 -08:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt Move googletest to the third-party directory 2022-11-09 15:28:08 -08:00
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.