llvm-project/bolt/lib/Profile
Kazu Hirata e324a80fab [BOLT] 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 23:12:38 -08:00
..
BoltAddressTranslation.cpp [BOLT] Use std::nullopt instead of None (NFC) 2022-12-02 23:12:38 -08:00
CMakeLists.txt [BOLT] Support building bolt when LLVM_LINK_LLVM_DYLIB is ON 2022-09-23 07:59:30 +02:00
DataAggregator.cpp [BOLT] Use std::nullopt instead of None (NFC) 2022-12-02 23:12:38 -08:00
DataReader.cpp [BOLT] Use std::nullopt instead of None (NFC) 2022-12-02 23:12:38 -08:00
Heatmap.cpp [BOLT] Distinguish sections in heatmap 2022-09-07 16:34:32 -07:00
ProfileReaderBase.cpp [BOLT][NFC] Fix file-description comments 2021-12-21 10:21:41 -08:00
YAMLProfileReader.cpp [bolt] Remove unneeded cl::ZeroOrMore for cl::opt options 2022-06-05 13:29:49 -07:00
YAMLProfileWriter.cpp Use std::nullopt_t instead of NoneType (NFC) 2022-11-23 14:16:04 -08:00