[all-commits] [llvm/llvm-project] 2916b9: [ADT] Alias llvm::Optional to std::optional
Benjamin Kramer via All-commits
all-commits at lists.llvm.org
Mon Dec 19 16:02:18 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2916b99182752b1aece8cc4479d8d6a20b5e02da
https://github.com/llvm/llvm-project/commit/2916b99182752b1aece8cc4479d8d6a20b5e02da
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2022-12-20 (Tue, 20 Dec 2022)
Changed paths:
M clang/include/clang/Basic/LLVM.h
M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
M flang/include/flang/Lower/Runtime.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp
M lldb/source/Symbol/Type.cpp
M llvm/include/llvm/ADT/Optional.h
M llvm/include/llvm/ADT/STLForwardCompat.h
M llvm/include/llvm/Support/raw_ostream.h
M llvm/include/llvm/Testing/Support/SupportHelpers.h
M llvm/lib/CodeGen/RegAllocGreedy.h
M llvm/unittests/ADT/CMakeLists.txt
R llvm/unittests/ADT/OptionalTest.cpp
M llvm/unittests/Support/TypeTraitsTest.cpp
M mlir/include/mlir/Bindings/Python/PybindAdaptors.h
M mlir/include/mlir/Support/LLVM.h
M mlir/lib/Bindings/Python/PybindUtils.h
M mlir/lib/Dialect/GPU/Transforms/SerializeToHsaco.cpp
Log Message:
-----------
[ADT] Alias llvm::Optional to std::optional
This avoids the continuous API churn when upgrading things to use
std::optional and makes trivial string replace upgrades possible.
I tested this with GCC 7.5, the oldest supported GCC I had around.
Differential Revision: https://reviews.llvm.org/D140332
More information about the All-commits
mailing list