[all-commits] [llvm/llvm-project] a38cfc: [llvm] Use std::nullopt instead of None (NFC)
kazutakahirata via All-commits
all-commits at lists.llvm.org
Sun Dec 4 13:53:03 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a38cfc50fcf9df006aaa192a95971c1a06103114
https://github.com/llvm/llvm-project/commit/a38cfc50fcf9df006aaa192a95971c1a06103114
Author: Kazu Hirata <kazu at google.com>
Date: 2022-12-04 (Sun, 04 Dec 2022)
Changed paths:
M llvm/lib/DebugInfo/Symbolize/MarkupFilter.cpp
M llvm/lib/MC/MCTargetOptionsCommandFlags.cpp
M llvm/utils/TableGen/AsmMatcherEmitter.cpp
M llvm/utils/TableGen/GICombinerEmitter.cpp
M llvm/utils/TableGen/RegisterInfoEmitter.cpp
M llvm/utils/TableGen/SubtargetEmitter.cpp
Log Message:
-----------
[llvm] Use std::nullopt instead of None (NFC)
I've verified that every change in this patch affects generated files
and would reduce the number of warnings if None were deprecated.
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
Commit: 86d8f2ce97c36a57da55220b1f0eecf999e78a3d
https://github.com/llvm/llvm-project/commit/86d8f2ce97c36a57da55220b1f0eecf999e78a3d
Author: Kazu Hirata <kazu at google.com>
Date: 2022-12-04 (Sun, 04 Dec 2022)
Changed paths:
M clang/include/clang/AST/PropertiesBase.td
M clang/include/clang/AST/TypeProperties.td
M clang/utils/TableGen/ClangAttrEmitter.cpp
Log Message:
-----------
[clang] Use std::nullopt instead of None (NFC)
I've verified that every change in this patch affects generated files
and would reduce the number of warnings if None were deprecated.
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
Commit: 552109719071677c0ff9bd03f662f6c3eb70285a
https://github.com/llvm/llvm-project/commit/552109719071677c0ff9bd03f662f6c3eb70285a
Author: Kazu Hirata <kazu at google.com>
Date: 2022-12-04 (Sun, 04 Dec 2022)
Changed paths:
M mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
M mlir/include/mlir/Dialect/Async/IR/AsyncOps.td
M mlir/include/mlir/Dialect/Bufferization/IR/AllocationOpInterface.td
M mlir/include/mlir/Dialect/Func/IR/FuncOps.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
M mlir/include/mlir/Dialect/MLProgram/IR/MLProgramOps.td
M mlir/include/mlir/Dialect/PDL/IR/PDLOps.td
M mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVAvailability.td
M mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
M mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
M mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
M mlir/include/mlir/Dialect/Vector/Interfaces/MaskableOpInterface.td
M mlir/include/mlir/IR/BuiltinAttributeInterfaces.td
M mlir/include/mlir/IR/BuiltinAttributes.td
M mlir/include/mlir/IR/BuiltinOps.td
M mlir/include/mlir/IR/BuiltinTypeInterfaces.td
M mlir/include/mlir/IR/BuiltinTypes.td
M mlir/include/mlir/IR/OpBase.td
M mlir/include/mlir/Interfaces/ControlFlowInterfaces.td
M mlir/include/mlir/Interfaces/LoopLikeInterface.td
M mlir/include/mlir/Interfaces/SideEffectInterfaceBase.td
M mlir/include/mlir/Interfaces/VectorInterfaces.td
M mlir/test/mlir-tblgen/attrdefs.td
M mlir/test/mlir-tblgen/op-attribute.td
M mlir/test/mlir-tblgen/typedefs.td
M mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-yaml-gen.cpp
M mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
M mlir/tools/mlir-tblgen/EnumsGen.cpp
M mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp
Log Message:
-----------
[mlir] Use std::nullopt instead of None (NFC)
I've verified that every change in this patch affects generated files
and would reduce the number of warnings if None were deprecated.
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
Commit: 8d6589cba7cde886d2e189ea84c8bb17e12da861
https://github.com/llvm/llvm-project/commit/8d6589cba7cde886d2e189ea84c8bb17e12da861
Author: Kazu Hirata <kazu at google.com>
Date: 2022-12-04 (Sun, 04 Dec 2022)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROps.td
Log Message:
-----------
[flang] Use std::nullopt instead of None (NFC)
I've verified that every change in this patch affects generated files
and would reduce the number of warnings if None were deprecated.
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
Compare: https://github.com/llvm/llvm-project/compare/f4c16c44737c...8d6589cba7cd
More information about the All-commits
mailing list