[all-commits] [llvm/llvm-project] 370e47: [BOLT][NFC] Use std::optional for findAttributeInfo
Amir Ayupov via All-commits
all-commits at lists.llvm.org
Tue Dec 6 14:51:52 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 370e4761bcd52f601a80a252845ebddbec87d904
https://github.com/llvm/llvm-project/commit/370e4761bcd52f601a80a252845ebddbec87d904
Author: Amir Ayupov <aaupov at fb.com>
Date: 2022-12-06 (Tue, 06 Dec 2022)
Changed paths:
M bolt/include/bolt/Core/DebugData.h
M bolt/lib/Core/DebugData.cpp
M bolt/lib/Rewrite/DWARFRewriter.cpp
Log Message:
-----------
[BOLT][NFC] Use std::optional for findAttributeInfo
LLVM started switching from `llvm::Optional` to `std::optional`:
https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716/11
Reviewed By: #bolt, maksfb
Differential Revision: https://reviews.llvm.org/D139259
Commit: 2563fd63c6f774e2b723d3f5246629e60da01eaa
https://github.com/llvm/llvm-project/commit/2563fd63c6f774e2b723d3f5246629e60da01eaa
Author: Amir Ayupov <aaupov at fb.com>
Date: 2022-12-06 (Tue, 06 Dec 2022)
Changed paths:
M bolt/include/bolt/Core/BinaryFunction.h
M bolt/include/bolt/Core/MCPlusBuilder.h
M bolt/lib/Core/BinaryContext.cpp
M bolt/lib/Core/BinaryFunction.cpp
M bolt/lib/Core/Exceptions.cpp
M bolt/lib/Core/MCPlusBuilder.cpp
M bolt/lib/Passes/DataflowAnalysis.cpp
M bolt/lib/Passes/IdenticalCodeFolding.cpp
M bolt/lib/Passes/Inliner.cpp
M bolt/lib/Passes/SplitFunctions.cpp
M bolt/lib/Profile/YAMLProfileWriter.cpp
M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
M bolt/unittests/Core/MCPlusBuilder.cpp
Log Message:
-----------
[BOLT][NFC] Use std::optional in MCPlusBuilder
Reviewed By: maksfb, #bolt
Differential Revision: https://reviews.llvm.org/D139260
Compare: https://github.com/llvm/llvm-project/compare/59ae45298383...2563fd63c6f7
More information about the All-commits
mailing list